import type { AnsweredQuestionBatch } from "../chat-message.js"; import type { CursorStore } from "../chat/cursor.js"; import type { Workspace } from "../chat/workspace.js"; import type { OpenCodeClient } from "./client.js"; export declare function sessionStatus(type: string | undefined): "idle" | "busy" | "retry" | "unknown"; export interface SnapshotRequest { client: OpenCodeClient; cursors: CursorStore; workspace: Workspace; chat: unknown; sessionId: string; body: Record; signal: AbortSignal; operation: "chat.snapshot" | "chat.subtask.snapshot"; answeredQuestions: readonly AnsweredQuestionBatch[]; recheck: () => Promise; } export declare function buildSnapshot(request: SnapshotRequest): Promise; //# sourceMappingURL=snapshot.d.ts.map