export interface NoteHeading { id: string; depth: 1 | 2 | 3 | 4 | 5 | 6; title: string; start: number; end: number; path: string[]; } export interface NoteSection { id: string; heading?: NoteHeading; start: number; end: number; markdown: string; plainText: string; } export interface NoteTaskItem { id: string; text: string; checked: boolean; start: number; end: number; line: number; } export interface NoteWikiLink { raw: string; target: string; alias?: string; heading?: string; start: number; end: number; } export interface NoteAttachmentRef { attachmentId: string; start: number; end: number; } export interface NoteCallout { type: string; title?: string; start: number; end: number; } export interface ParsedNoteMarkdown { plainText: string; headings: NoteHeading[]; sections: NoteSection[]; tasks: NoteTaskItem[]; tags: string[]; wikilinks: NoteWikiLink[]; attachments: NoteAttachmentRef[]; callouts: NoteCallout[]; codeBlocks: Array<{ lang?: string; start: number; end: number; code: string; }>; } export declare function parseNoteMarkdown(markdown?: string, noteId?: string): ParsedNoteMarkdown; export declare function applyNotePatch(markdown: string, operations: import('./types.js').NotePatchOperation[], parsed?: ParsedNoteMarkdown): string;