export interface Workspace { id: number; channel_id: string; guild_id: string; agent_name: string; workspace_path: string; created_at: string; } export interface Conversation { id: number; workspace_id: number; discord_msg_id: string; role: "user" | "assistant"; content: string; author_name: string | null; created_at: string; } export declare class DisclawDatabase { private db; constructor(dbPath: string); private runMigrations; getWorkspaceByChannelId(channelId: string): Workspace | undefined; getWorkspaceByName(name: string): Workspace | undefined; getAllWorkspaces(): Workspace[]; createWorkspace(channelId: string, guildId: string, agentName: string, workspacePath: string): Workspace; addConversation(workspaceId: number, discordMsgId: string, role: "user" | "assistant", content: string, authorName: string | null): void; getConversationHistory(workspaceId: number, limit?: number): Conversation[]; close(): void; } //# sourceMappingURL=database.d.ts.map