import type { WorldStat, WorldStore } from './world-store.js'; type SqlValue = string | number | null | ArrayBuffer; /** The slice of a SQLite handle the store uses — Durable Objects' `SqlStorage` satisfies it. */ export type SqlExec = { exec(query: string, ...bindings: unknown[]): { toArray(): Record[]; }; }; export declare class SqlWorldStore implements WorldStore { private readonly sql; private version; constructor(sql: SqlExec); private file; private put; read(path: string): string | null; readLines(path: string): string[]; append(path: string, data: string): void; write(path: string, data: string): void; writeAtomic(path: string, data: string): void; exists(path: string): boolean; remove(path: string): void; mkdir(_dirPath: string): void; list(dirPath: string): string[]; stat(path: string): WorldStat | null; withLock(_lockPath: string, fn: () => T): T; } export {};