import { DatabaseSync } from 'node:sqlite'; export type ContentIndexDatabase = DatabaseSync; /** @deprecated Use {@link ContentIndexDatabase}. */ export type MediaIndexDatabase = ContentIndexDatabase; export declare function openIndexDatabase(dbPath: string, options?: { memory?: boolean; }): ContentIndexDatabase; /** SQLite user-defined function for filename regex (pattern, value) → 0|1 */ export declare function registerRegexpFunction(db: DatabaseSync): void; export declare function getMeta(db: ContentIndexDatabase, key: string): string | null; export declare function setMeta(db: ContentIndexDatabase, key: string, value: string): void; //# sourceMappingURL=db.d.ts.map