import { FootnoteStoryLocator, EndnoteStoryLocator } from '../../../../../../document-api/src/index.js'; import { Editor } from '../../core/Editor.js'; import { StoryRuntime } from './story-types.js'; import { Node as ProseMirrorNode } from 'prosemirror-model'; type NoteStoryLocator = FootnoteStoryLocator | EndnoteStoryLocator; /** * SD-3400: a note is "empty" once it holds no text and no embedded atoms * (images, etc.). Whitespace-only content counts as empty — the user cleared it. * Exported so PresentationEditor's note-session watcher applies the same rule. */ export declare function isNoteContentEmpty(doc: ProseMirrorNode): boolean; /** * Resolves a footnote or endnote locator to a StoryRuntime. * * Note content is extracted from the converter's derived cache (the PM JSON * representation of the note's body paragraphs). If the converter cannot * provide PM JSON for the note, falls back to extracting from the OOXML part. */ export declare function resolveNoteRuntime(hostEditor: Editor, locator: NoteStoryLocator): StoryRuntime; export {}; //# sourceMappingURL=note-story-runtime.d.ts.map