export interface ProjectNote { id: string; text: string; completed: boolean; createdAt: string; updatedAt: string; completedAt: string | null; } export interface ProjectNotesRepositoryOptions { now?: () => string; id?: () => string; } export declare function parseNotesMarkdown(md: string): ProjectNote[]; export declare function serializeNotesMarkdown(notes: ProjectNote[]): string; export declare class ProjectNotesRepository { private readonly now; private readonly id; constructor(options?: ProjectNotesRepositoryOptions); list(filePath: string): Promise; add(filePath: string, text: string): Promise; update(filePath: string, id: string, text: string): Promise; setCompleted(filePath: string, id: string, completed: boolean): Promise; delete(filePath: string, id: string): Promise; clearCompleted(filePath: string): Promise; private mutate; } export declare const projectNotesRepository: ProjectNotesRepository;