interface StatementSyncLike {
    run(...params: unknown[]): {
        lastInsertRowid?: number | bigint;
        changes?: number;
    };
    get(...params: unknown[]): unknown;
    all(...params: unknown[]): unknown[];
}
export interface DatabaseSyncLike {
    exec(sql: string): void;
    prepare(sql: string): StatementSyncLike;
    close(): void;
}
export declare function getHippoDbPath(hippoRoot: string): string;
export declare function getCurrentSchemaVersion(): number;
export declare function openHippoDb(hippoRoot: string): DatabaseSyncLike;
export declare function getSchemaVersion(db: DatabaseSyncLike): number;
export declare function closeHippoDb(db: DatabaseSyncLike): void;
export declare function getMeta(db: DatabaseSyncLike, key: string, fallback?: string): string;
export declare function setMeta(db: DatabaseSyncLike, key: string, value: string): void;
export declare function isFtsAvailable(db: DatabaseSyncLike): boolean;
export declare function pruneConsolidationRuns(db: DatabaseSyncLike, keep?: number): void;
export {};
//# sourceMappingURL=db.d.ts.map