import type { BaseSQLiteDatabase } from "drizzle-orm/sqlite-core"; import type { State, StateStore } from "../state.ts"; import type { StateStoreProxy } from "./proxy.ts"; import * as schema from "./schema.ts"; type Database = BaseSQLiteDatabase; /** * Represents the SQL operations for a SQLite-backed state store. * DOES NOT include serialization/deserialization — that is handled by the `StateStoreProxy` class. */ export declare class SQLiteStateStoreOperations implements StateStore { private readonly db; private readonly context; constructor(db: Database, context: { chain: string[]; }); dispatch(method: TMethod, params: StateStoreProxy.API[TMethod]["params"]): Promise; list(): Promise; listScopes(): Promise; count(): Promise; get(key: string): Promise<{ props: import("../resource.ts").ResourceProps | undefined; oldProps: import("../resource.ts").ResourceProps | undefined; id: string; status: "creating" | "created" | "updating" | "updated" | "deleting" | "deleted"; kind: string; fqn: string; seq: number; data: Record; output: import("../resource.ts").Resource; } | undefined>; all(): Promise>; set(_key: string, state: State): Promise; delete(key: string): Promise; getBatch(keys: string[]): Promise>; } export {}; //# sourceMappingURL=operations.d.ts.map