type ChatRole = 'user' | 'assistant'; type ChatTurn = { role: ChatRole; content: string; }; type FactInjection = { factId?: string; entityKey: string; summary: string; value: unknown; confidence: number; source: string; }; type ShutdownCheckpointPayload = { currentStep?: string; nextStep?: string; openRisks?: string[]; recentOutputs?: string[]; notes?: string; }; export type ChatSessionOptions = { agentId?: string; provider?: string; model?: string; cwd?: string; }; export declare function buildMemoryBlock(facts: FactInjection[]): string; export declare function buildGracefulShutdownCheckpoint(history: ChatTurn[], manualInjections: FactInjection[]): ShutdownCheckpointPayload | null; export declare function startChatSession(options?: ChatSessionOptions): Promise; export {}; //# sourceMappingURL=index.d.ts.map