export type AgentHarnessSessionStatus = "running" | "idle" | "stopped" | "errored" | "destroyed"; export interface StoredAgentHarnessSession { id: string; harnessName: string; threadId: string; runId?: string | null; providerSessionId?: string | null; status: AgentHarnessSessionStatus; resumeState?: unknown; workspaceRef?: string | null; pendingApproval?: unknown; resolvedApprovalIds?: string[]; ownerEmail?: string | null; orgId?: string | null; createdAt: number; updatedAt: number; stoppedAt?: number | null; } export interface SaveAgentHarnessSessionInput { id: string; harnessName: string; threadId: string; runId?: string | null; providerSessionId?: string | null; status?: AgentHarnessSessionStatus; resumeState?: unknown; workspaceRef?: string | null; pendingApproval?: unknown; resolvedApprovalIds?: string[]; ownerEmail?: string | null; orgId?: string | null; stoppedAt?: number | null; } export declare function ensureAgentHarnessSessionTables(): Promise; export declare function saveAgentHarnessSession(input: SaveAgentHarnessSessionInput): Promise; export declare function updateAgentHarnessSession(id: string, patch: Partial>): Promise; export declare function getAgentHarnessSession(id: string): Promise; export declare function getLatestAgentHarnessSessionForThread(threadId: string, harnessName?: string): Promise; export declare function getAgentHarnessSessionByRunId(runId: string): Promise; export declare function listAgentHarnessSessions(options?: { status?: AgentHarnessSessionStatus; threadId?: string; ownerEmail?: string | null; orgId?: string | null; limit?: number; }): Promise; export declare function markAgentHarnessSessionStopped(id: string, status: Extract): Promise; //# sourceMappingURL=store.d.ts.map