import type { DaemonState, PromptRecord, SessionRecord, Tool, IpcResponse } from "./types.js"; interface SessionCreationMeta { runKind?: "interactive" | "scheduled" | "team"; scheduleId?: string; scheduleName?: string; teamId?: string; teamName?: string; } export declare function getState(): DaemonState; export declare function init(): void; export declare function persist(): void; export declare function listPrompts(): PromptRecord[]; export declare function addPrompt(label: string, prompt: string): PromptRecord; export declare function removePrompt(id: string): boolean; export declare function getPushToken(): string | undefined; export declare function setPushToken(token: string): void; export declare function createSession(tool: Tool, workingDirectory: string, model?: string, autoAccept?: boolean, conversationId?: string, metadata?: SessionCreationMeta): SessionRecord; export declare function getSession(id: string): SessionRecord | undefined; export declare function updateSession(id: string, updates: Partial>): SessionRecord | undefined; export declare function listSessions(): SessionRecord[]; export declare function listDismissedNativeIds(): string[]; export declare function dismissNativeSession(id: string): void; export declare function removeSession(id: string): boolean; export declare function sendTurn(id: string, prompt: string, turnOpts?: { mode?: string; model?: string; }): IpcResponse; export declare function cancelSession(id: string): IpcResponse; export declare function shutdownAll(): Promise; export declare function getActiveCount(): number; export declare function waitForIdle(id: string, timeoutMs?: number): Promise; export {};