import { c as RunStatus, d as StorageAdapter, f as WorkflowRun, l as StepResult, n as CreateRunResult, t as ClaimedRun } from "../types-nm947ViN.mjs"; //#region src/storage/sqlite-node.d.ts /** * SQLite-backed storage adapter. Uses WAL mode for concurrent reads and * transactional claiming for safe multi-process access. * * @example * ```ts * const storage = new SQLiteStorage('./reflow.db') * await storage.initialize() * ``` */ declare class SQLiteStorage implements StorageAdapter { private db; constructor(path: string); initialize(): Promise; createRun(run: WorkflowRun): Promise; claimNextRun(workflowNames: readonly string[], staleBefore?: number): Promise; heartbeatRun(runId: string, leaseId: string): Promise; getRun(runId: string): Promise; getStepResults(runId: string): Promise; saveStepResult(result: StepResult, leaseId?: string): Promise; updateRunStatus(runId: string, status: RunStatus): Promise; updateClaimedRunStatus(runId: string, leaseId: string, status: RunStatus): Promise; close(): void; } //#endregion export { SQLiteStorage }; //# sourceMappingURL=sqlite-node.d.mts.map