import { Database } from "bun:sqlite";
export declare const LOCK_EXPIRY_MINUTES = 30;
export declare function getDatabasePath(): string;
export declare function getDatabase(dbPath?: string): Database;
export declare function closeDatabase(): void;
export declare function resetDatabase(): void;
export declare function now(): string;
export declare function uuid(): string;
export declare function isLockExpired(lockedAt: string | null, nowMs?: number): boolean;
export declare function lockExpiryCutoff(nowMs?: number): string;
export declare function clearExpiredLocks(db: Database): void;
export declare function resolvePartialId(db: Database, table: string, partialId: string): string | null;
//# sourceMappingURL=database.d.ts.map