import { DatabaseSync } from "node:sqlite"; import type { Note } from "./json-store"; export type SqliteInfo = { available: boolean; error: string; }; export declare function openStore(file: string): DatabaseSync; export declare function countNotes(db: DatabaseSync): number; export declare function insertNote(db: DatabaseSync, note: Note): void; export declare function listNotes(db: DatabaseSync, limit?: number): Note[]; export declare function journalMode(db: DatabaseSync): string; export declare function seedIfEmpty(db: DatabaseSync, notes: Note[]): number; export declare function sqliteSize(file: string): number; export declare function closeStore(db: DatabaseSync | null): void; //# sourceMappingURL=sqlite-store.d.ts.map