import { type DocumentModel, type Note, type Paragraph } from '../index.js'; import type { LayoutNote, LayoutParagraph } from './input.js'; type NoteKind = 'footnote' | 'endnote'; /** Note numbers as Word shows them: in reference order, in each kind's number format. */ export declare function noteLabels(model: DocumentModel): (kind: NoteKind, id: string) => string; /** Adapts a note's paragraphs, whose number mark (`w:footnoteRef`) shows the note's label. */ export declare function adaptNote(note: Note, label: string, adaptParagraph: (paragraph: Paragraph, markLabel?: string) => LayoutParagraph): LayoutParagraph[]; /** The footnotes a paragraph references, laid out at the bottom of the page it starts on. */ export declare function paragraphFootnotes(paragraph: Paragraph, model: DocumentModel, label: (kind: NoteKind, id: string) => string, adaptParagraph: (paragraph: Paragraph, markLabel?: string) => LayoutParagraph): LayoutNote[]; /** Endnotes in reference order, placed after the document's last paragraph as Word does. */ export declare function endnoteParagraphs(model: DocumentModel, label: (kind: NoteKind, id: string) => string, adaptParagraph: (paragraph: Paragraph, markLabel?: string) => LayoutParagraph): LayoutParagraph[]; export {}; //# sourceMappingURL=adapt-notes.d.ts.map