import { buildNoteIndexMeta } from './note-index-meta.js'; import type { Note, NoteIndexEntry, NoteSnapshot, NoteSnapshotEntry, NotesListQuery, SnapshotTrigger } from './types.js'; export declare class NotesStore { private initialized; initialize(): Promise; addNote(note: Note): Promise; getNote(id: string): Promise; updateNote(id: string, patch: Partial): Promise; deleteNote(id: string): Promise; listNotes(query?: NotesListQuery): Promise<{ items: NoteIndexEntry[]; total: number; limit: number; offset: number; hasMore: boolean; }>; saveAttachment(noteId: string, fileName: string, buffer: Buffer): Promise<{ relativePath: string; size: number; }>; resolveAttachmentPath(noteId: string, relativePath: string): string; deleteAttachmentFile(noteId: string, relativePath: string): Promise; saveSnapshot(note: Note, trigger: SnapshotTrigger): Promise; listSnapshots(noteId: string): Promise; getSnapshot(noteId: string, timestamp: number): Promise; pruneSnapshots(noteId: string, maxCount: number): Promise; deleteAllSnapshots(noteId: string): Promise; /** No-op: SQLite writes are synchronous. Kept for API compatibility with tests. */ flush(): Promise; } export { buildNoteIndexMeta };