import { type CliError } from "../../../_utils/cli-error.js"; import { type Result } from "../../../_utils/result.js"; type SqliteStatement = { all: (...params: unknown[]) => Record[]; get: (...params: unknown[]) => Record | undefined; run: (...params: unknown[]) => unknown; }; type SqliteDb = { exec: (sql: string) => void; prepare: (sql: string) => SqliteStatement; close: () => void; }; declare const mutate: (db: SqliteDb, input: { readonly sessionId: string; readonly workspaceId: string; readonly composer: string; readonly header: string; readonly bubbles: readonly { key: string; value: string; }[]; readonly workspaceIndex: string; readonly now: number; }) => void; declare const cursorStore: { locate(workspace: string): Promise>; probe(paths: { globalDb: string; workspaceDb: string; }): Promise>; stage(paths: { globalDb: string; workspaceDb: string; }, input: Parameters[1]): Promise>; install(paths: { globalDb: string; workspaceDb: string; }, stagedDirectory: string, sessionId: string): Promise>; cleanup(path: string): Promise; }; export { cursorStore };