/**
 * SD-2986/B1: Shared helper for converting an OOXML footnote/endnote cardinal
 * to its visible string per the document's `w:numFmt` setting.
 *
 * Used by:
 *  - `footnote-reference.ts` (inline ref in body text)
 *  - `super-editor/.../FootnotesBuilder.ts` (leading marker inside the footnote)
 *
 * Single source of truth so the inline reference and leading marker cannot
 * drift apart visually.
 *
 * The format switch is intentionally inlined (rather than imported from
 * `@superdoc/layout-engine`'s `formatPageNumber`) because pm-adapter sits
 * upstream of layout-engine in the package graph and must not depend on it
 * — see `Guard C` in `architecture-boundaries.test.ts`. A drift-detection
 * parity test in the layout-tests suite asserts that this helper agrees with
 * `formatPageNumber` for every supported format on integers 1..100.
 */
export type FootnoteNumberFormat = 'decimal' | 'upperRoman' | 'lowerRoman' | 'upperLetter' | 'lowerLetter' | 'numberInDash';
/**
 * Format a footnote/endnote cardinal per the OOXML `w:numFmt` value.
 * Unrecognized formats fall back to decimal.
 *
 * @example
 *   formatFootnoteCardinal(4, 'upperRoman')   // "IV"
 *   formatFootnoteCardinal(3, 'lowerLetter')  // "c"
 *   formatFootnoteCardinal(7, undefined)      // "7"
 *   formatFootnoteCardinal(7, 'invalid')      // "7"
 */
export declare const formatFootnoteCardinal: (cardinal: number, numFmt: string | undefined) => string;
//# sourceMappingURL=footnote-formatting.d.ts.map