import type { AgentGoal, GoalCheckpoint, GoalContinuationClaim, GoalDeleteResult, GoalPendingEvaluation, GoalStorage, GoalTerminalCandidateRecord } from "./domain.js"; export declare class SqliteGoalStorage implements GoalStorage { private readonly db; constructor(path: string); get(scopeId: string): Promise; listUnfinished(): Promise; private toGoal; create(goal: AgentGoal): Promise; replace(goal: AgentGoal, expectedVersion: number): Promise; updateBudget(goal: AgentGoal, expectedVersion: number): Promise; addCheckpoint(checkpoint: GoalCheckpoint): Promise; listCheckpoints(scopeId: string): Promise; delete(scopeId: string, expectedGoalId: string, expectedVersion: number): Promise; getPendingEvaluation(scopeId: string): Promise; appendPendingEvaluation(pending: GoalPendingEvaluation): Promise; putPendingEvaluation(pending: GoalPendingEvaluation): Promise; replacePendingEvaluation(pending: GoalPendingEvaluation, expectedEvaluationId: string): Promise; deletePendingEvaluation(scopeId: string, expectedEvaluationId: string): Promise; commitEvaluation(goal: AgentGoal, expectedGoalVersion: number, expectedEvaluationId: string): Promise; getTerminalCandidate(scopeId: string): Promise; putTerminalCandidate(candidate: GoalTerminalCandidateRecord): Promise; deleteTerminalCandidate(scopeId: string, expectedCandidateId: string): Promise; getContinuationClaim(scopeId: string): Promise; createContinuationClaim(claim: GoalContinuationClaim): Promise; replaceContinuationClaim(claim: GoalContinuationClaim, expectedClaimId: string): Promise; acknowledgeContinuationClaim(scopeId: string, expectedClaimId: string): Promise; deleteContinuationClaim(scopeId: string, expectedClaimId: string): Promise; close(): void; }