## API Report File for "@eigenpal/docx-editor-core"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).

```ts

// @public
export interface AbstractNumbering {
    abstractNumId: number;
    levels: ListLevel[];
    multiLevelType?: 'hybridMultilevel' | 'multilevel' | 'singleLevel';
    name?: string;
    numStyleLink?: string;
    styleLink?: string;
}

// @public
export type BlockContent = Paragraph | Table | BlockSdt;

// @public
export interface BlockSdt {
    content: BlockContent[];
    properties: SdtProperties;
    // (undocumented)
    type: 'blockSdt';
}

// @public
export interface BookmarkEnd {
    id: number;
    // (undocumented)
    type: 'bookmarkEnd';
}

// @public
export interface BookmarkStart {
    colFirst?: number;
    // (undocumented)
    colLast?: number;
    id: number;
    name: string;
    // (undocumented)
    type: 'bookmarkStart';
}

// @public
export interface BorderSpec {
    color?: ColorValue;
    frame?: boolean;
    shadow?: boolean;
    size?: number;
    space?: number;
    style: 'none' | 'single' | 'double' | 'dotted' | 'dashed' | 'thick' | 'triple' | 'thinThickSmallGap' | 'thickThinSmallGap' | 'thinThickMediumGap' | 'thickThinMediumGap' | 'thinThickLargeGap' | 'thickThinLargeGap' | 'wave' | 'doubleWave' | 'dashSmallGap' | 'dashDotStroked' | 'threeDEmboss' | 'threeDEngrave' | 'outset' | 'inset' | 'nil';
}

// @public
export interface BreakContent {
    breakType?: 'page' | 'column' | 'textWrapping';
    clear?: 'none' | 'left' | 'right' | 'all';
    // (undocumented)
    type: 'break';
}

// @public
export interface CellMargins {
    // (undocumented)
    bottom?: TableMeasurement;
    // (undocumented)
    left?: TableMeasurement;
    // (undocumented)
    right?: TableMeasurement;
    // (undocumented)
    top?: TableMeasurement;
}

// @public
export interface ColorValue {
    auto?: boolean;
    rgb?: string;
    themeColor?: ThemeColorSlot;
    themeShade?: string;
    themeTint?: string;
}

// @public
export interface Column {
    space?: number;
    width?: number;
}

// @public
interface Comment_2 {
    author: string;
    content: Paragraph[];
    date?: string;
    done?: boolean;
    id: number;
    initials?: string;
    parentId?: number;
}
export { Comment_2 as Comment }

// @public
export interface CommentRangeEnd {
    // (undocumented)
    id: number;
    // (undocumented)
    type: 'commentRangeEnd';
}

// @public
export interface CommentRangeStart {
    // (undocumented)
    id: number;
    // (undocumented)
    type: 'commentRangeStart';
}

// @public
export interface ComplexField {
    dirty?: boolean;
    fieldCode: Run[];
    fieldResult: Run[];
    fieldType: FieldType;
    fldLock?: boolean;
    instruction: string;
    // (undocumented)
    type: 'complexField';
}

// @public
export interface ConditionalFormatStyle {
    evenHBand?: boolean;
    evenVBand?: boolean;
    firstColumn?: boolean;
    firstRow?: boolean;
    lastColumn?: boolean;
    lastRow?: boolean;
    neCell?: boolean;
    nwCell?: boolean;
    oddHBand?: boolean;
    oddVBand?: boolean;
    seCell?: boolean;
    swCell?: boolean;
}

// @public
export const DEFAULT_WATERMARK_PRESETS: readonly string[];

// @public
export interface Deletion {
    content: (Run | Hyperlink)[];
    info: TrackedChangeInfo;
    // (undocumented)
    type: 'deletion';
}

// @public
export interface DocDefaults {
    pPr?: ParagraphFormatting;
    rPr?: TextFormatting;
}

// @public
interface Document_2 {
    originalBuffer?: ArrayBuffer;
    package: DocxPackage;
    templateVariables?: string[];
    warnings?: string[];
}
export { Document_2 as Document }

// @public
export interface DocumentBody {
    comments?: Comment_2[];
    content: BlockContent[];
    finalSectionProperties?: SectionProperties;
    sections?: Section[];
}

// @public
export interface DocumentSettings {
    defaultTabStop: number;
}

// @public
export interface DocxPackage {
    document: DocumentBody;
    endnotes?: Endnote[];
    endnoteSeparators?: Endnote[];
    fontTable?: FontTable;
    footers?: Map<string, HeaderFooter>;
    footnotes?: Footnote[];
    footnoteSeparators?: Footnote[];
    headers?: Map<string, HeaderFooter>;
    media?: Map<string, MediaFile>;
    numbering?: NumberingDefinitions;
    properties?: {
        title?: string;
        subject?: string;
        creator?: string;
        keywords?: string;
        description?: string;
        lastModifiedBy?: string;
        revision?: number;
        created?: Date;
        modified?: Date;
    };
    relationships?: RelationshipMap;
    settings?: DocumentSettings;
    styles?: StyleDefinitions;
    theme?: Theme;
}

// @public
export interface DrawingContent {
    image: Image_2;
    // (undocumented)
    type: 'drawing';
}

// @public
export type EmphasisMark = 'none' | 'dot' | 'comma' | 'circle' | 'underDot';

// @public
export interface Endnote {
    content: BlockContent[];
    id: number;
    noteType?: 'normal' | 'separator' | 'continuationSeparator' | 'continuationNotice';
    // (undocumented)
    type: 'endnote';
    verbatimXml?: string;
}

// @public
export type EndnotePosition = 'sectEnd' | 'docEnd';

// @public
export interface EndnoteProperties {
    // (undocumented)
    numFmt?: NumberFormat;
    // (undocumented)
    numRestart?: NoteNumberRestart;
    // (undocumented)
    numStart?: number;
    // (undocumented)
    position?: EndnotePosition;
}

// @public (undocumented)
export type Field = SimpleField | ComplexField;

// @public
export interface FieldCharContent {
    charType: 'begin' | 'separate' | 'end';
    dirty?: boolean;
    fldLock?: boolean;
    // (undocumented)
    type: 'fieldChar';
}

// @public
export type FieldType = 'PAGE' | 'NUMPAGES' | 'NUMWORDS' | 'NUMCHARS' | 'DATE' | 'TIME' | 'CREATEDATE' | 'SAVEDATE' | 'PRINTDATE' | 'AUTHOR' | 'TITLE' | 'SUBJECT' | 'KEYWORDS' | 'COMMENTS' | 'FILENAME' | 'FILESIZE' | 'TEMPLATE' | 'DOCPROPERTY' | 'DOCVARIABLE' | 'REF' | 'PAGEREF' | 'NOTEREF' | 'HYPERLINK' | 'TOC' | 'TOA' | 'INDEX' | 'SEQ' | 'STYLEREF' | 'AUTONUM' | 'AUTONUMLGL' | 'AUTONUMOUT' | 'IF' | 'MERGEFIELD' | 'NEXT' | 'NEXTIF' | 'ASK' | 'SET' | 'QUOTE' | 'INCLUDETEXT' | 'INCLUDEPICTURE' | 'SYMBOL' | 'ADVANCE' | 'EDITTIME' | 'REVNUM' | 'SECTION' | 'SECTIONPAGES' | 'USERADDRESS' | 'USERNAME' | 'USERINITIALS' | 'UNKNOWN';

// @public
export interface FloatingTableProperties {
    // (undocumented)
    bottomFromText?: number;
    horzAnchor?: 'margin' | 'page' | 'text';
    // (undocumented)
    leftFromText?: number;
    // (undocumented)
    rightFromText?: number;
    tblpX?: number;
    // (undocumented)
    tblpXSpec?: 'left' | 'center' | 'right' | 'inside' | 'outside';
    tblpY?: number;
    // (undocumented)
    tblpYSpec?: 'top' | 'center' | 'bottom' | 'inside' | 'outside' | 'inline';
    topFromText?: number;
    vertAnchor?: 'margin' | 'page' | 'text';
}

// @public
export interface FontInfo {
    altName?: string;
    charset?: string;
    // (undocumented)
    embedBold?: string;
    // (undocumented)
    embedBoldItalic?: string;
    // (undocumented)
    embedItalic?: string;
    embedRegular?: string;
    family?: 'decorative' | 'modern' | 'roman' | 'script' | 'swiss' | 'auto';
    name: string;
    panose1?: string;
    pitch?: 'default' | 'fixed' | 'variable';
    sig?: {
        usb0?: string;
        usb1?: string;
        usb2?: string;
        usb3?: string;
        csb0?: string;
        csb1?: string;
    };
}

// @public
export interface FontTable {
    // (undocumented)
    fonts: FontInfo[];
}

// @public (undocumented)
export interface FooterReference {
    // (undocumented)
    rId: string;
    // (undocumented)
    type: HeaderFooterType;
}

// @public
export interface Footnote {
    content: BlockContent[];
    id: number;
    noteType?: 'normal' | 'separator' | 'continuationSeparator' | 'continuationNotice';
    // (undocumented)
    type: 'footnote';
    verbatimXml?: string;
}

// @public
export type FootnotePosition = 'pageBottom' | 'beneathText' | 'sectEnd' | 'docEnd';

// @public
export interface FootnoteProperties {
    // (undocumented)
    numFmt?: NumberFormat;
    // (undocumented)
    numRestart?: NoteNumberRestart;
    // (undocumented)
    numStart?: number;
    // (undocumented)
    position?: FootnotePosition;
}

// @public
export interface HeaderFooter {
    content: BlockContent[];
    hdrFtrType: HeaderFooterType;
    // (undocumented)
    type: 'header' | 'footer';
    watermark?: Watermark;
}

// @public
export type HeaderFooterType = 'default' | 'first' | 'even';

// @public
export interface HeaderReference {
    // (undocumented)
    rId: string;
    // (undocumented)
    type: HeaderFooterType;
}

// @public
export interface Hyperlink {
    anchor?: string;
    children: (Run | BookmarkStart | BookmarkEnd)[];
    docLocation?: string;
    history?: boolean;
    href?: string;
    rId?: string;
    target?: string;
    tooltip?: string;
    // (undocumented)
    type: 'hyperlink';
}

// @public
interface Image_2 {
    allowOverlap?: boolean;
    alt?: string;
    crop?: ImageCrop;
    decorative?: boolean;
    effects?: {
        brightness?: number;
        contrast?: number;
        saturation?: number;
    };
    filename?: string;
    hlinkHref?: string;
    id?: string;
    layoutInCell?: boolean;
    mimeType?: string;
    opacity?: number;
    originalSize?: ImageSize;
    outline?: ShapeOutline;
    padding?: ImagePadding;
    position?: ImagePosition;
    rId: string;
    size: ImageSize;
    src?: string;
    title?: string;
    transform?: ImageTransform;
    // (undocumented)
    type: 'image';
    wrap: ImageWrap;
}
export { Image_2 as Image }

// @public
export interface ImageCrop {
    // (undocumented)
    bottom?: number;
    // (undocumented)
    left?: number;
    // (undocumented)
    right?: number;
    // (undocumented)
    top?: number;
}

// @public
export interface ImagePadding {
    // (undocumented)
    bottom?: number;
    // (undocumented)
    left?: number;
    // (undocumented)
    right?: number;
    // (undocumented)
    top?: number;
}

// @public
export interface ImagePosition {
    horizontal: {
        relativeTo: 'character' | 'column' | 'insideMargin' | 'leftMargin' | 'margin' | 'outsideMargin' | 'page' | 'rightMargin';
        alignment?: 'left' | 'right' | 'center' | 'inside' | 'outside';
        posOffset?: number;
    };
    vertical: {
        relativeTo: 'insideMargin' | 'line' | 'margin' | 'outsideMargin' | 'page' | 'paragraph' | 'topMargin' | 'bottomMargin';
        alignment?: 'top' | 'bottom' | 'center' | 'inside' | 'outside';
        posOffset?: number;
    };
}

// @public
export interface ImageSize {
    height: number;
    width: number;
}

// @public
export interface ImageTransform {
    flipH?: boolean;
    flipV?: boolean;
    rotation?: number;
}

// @public
export interface ImageWrap {
    // (undocumented)
    distB?: number;
    // (undocumented)
    distL?: number;
    // (undocumented)
    distR?: number;
    distT?: number;
    // (undocumented)
    type: WrapType;
    wrapText?: 'bothSides' | 'left' | 'right' | 'largest';
}

// @public
export interface InlineSdt {
    content: (Run | Hyperlink | SimpleField | ComplexField | InlineSdt | MathEquation)[];
    properties: SdtProperties;
    // (undocumented)
    type: 'inlineSdt';
}

// @public
export interface Insertion {
    content: (Run | Hyperlink)[];
    info: TrackedChangeInfo;
    // (undocumented)
    type: 'insertion';
}

// @public
export interface InstrTextContent {
    text: string;
    // (undocumented)
    type: 'instrText';
}

// @public
export type LevelSuffix = 'tab' | 'space' | 'nothing';

// @public
export type LineNumberRestart = 'continuous' | 'newPage' | 'newSection';

// @public
export type LineSpacingRule = 'auto' | 'exact' | 'atLeast';

// @public
export interface ListLevel {
    ilvl: number;
    isLgl?: boolean;
    legacy?: {
        legacy?: boolean;
        legacySpace?: number;
        legacyIndent?: number;
    };
    lvlJc?: 'left' | 'center' | 'right';
    lvlRestart?: number;
    lvlText: string;
    numFmt: NumberFormat;
    pPr?: ParagraphFormatting;
    rPr?: TextFormatting;
    start?: number;
    suffix?: LevelSuffix;
}

// @public
export interface ListRendering {
    abstractNumId?: number;
    isBullet: boolean;
    level: number;
    levelNumFmts?: NumberFormat[];
    marker: string;
    markerFontFamily?: string;
    markerFontSize?: number;
    markerHidden?: boolean;
    markerSuffix?: LevelSuffix;
    numFmt?: NumberFormat;
    numId: number;
    startOverride?: number;
}

// @public
export interface MathEquation {
    display: 'inline' | 'block';
    ommlXml: string;
    plainText?: string;
    // (undocumented)
    type: 'mathEquation';
}

// @public
export interface MediaFile {
    base64?: string;
    data: ArrayBuffer;
    dataUrl?: string;
    filename?: string;
    mimeType: string;
    path: string;
}

// @public
export interface MoveFrom {
    content: (Run | Hyperlink)[];
    info: TrackedChangeInfo;
    // (undocumented)
    type: 'moveFrom';
}

// @public
export interface MoveFromRangeEnd {
    // (undocumented)
    id: number;
    // (undocumented)
    type: 'moveFromRangeEnd';
}

// @public
export interface MoveFromRangeStart {
    // (undocumented)
    id: number;
    // (undocumented)
    name: string;
    // (undocumented)
    type: 'moveFromRangeStart';
}

// @public
export interface MoveTo {
    content: (Run | Hyperlink)[];
    info: TrackedChangeInfo;
    // (undocumented)
    type: 'moveTo';
}

// @public
export interface MoveToRangeEnd {
    // (undocumented)
    id: number;
    // (undocumented)
    type: 'moveToRangeEnd';
}

// @public
export interface MoveToRangeStart {
    // (undocumented)
    id: number;
    // (undocumented)
    name: string;
    // (undocumented)
    type: 'moveToRangeStart';
}

// @public
export interface NoBreakHyphenContent {
    // (undocumented)
    type: 'noBreakHyphen';
}

// @public
export type NoteNumberRestart = 'continuous' | 'eachSect' | 'eachPage';

// @public
export interface NoteReferenceContent {
    id: number;
    // (undocumented)
    type: 'footnoteRef' | 'endnoteRef';
}

// @public
export interface NoteRefMarkContent {
    // (undocumented)
    type: 'footnoteRefMark' | 'endnoteRefMark';
}

// @public
export type NumberFormat = 'decimal' | 'upperRoman' | 'lowerRoman' | 'upperLetter' | 'lowerLetter' | 'ordinal' | 'cardinalText' | 'ordinalText' | 'hex' | 'chicago' | 'ideographDigital' | 'japaneseCounting' | 'aiueo' | 'iroha' | 'decimalFullWidth' | 'decimalHalfWidth' | 'japaneseLegal' | 'japaneseDigitalTenThousand' | 'decimalEnclosedCircle' | 'decimalFullWidth2' | 'aiueoFullWidth' | 'irohaFullWidth' | 'decimalZero' | 'decimalZero3' | 'decimalZero4' | 'decimalZero5' | 'bullet' | 'ganada' | 'chosung' | 'decimalEnclosedFullstop' | 'decimalEnclosedParen' | 'decimalEnclosedCircleChinese' | 'ideographEnclosedCircle' | 'ideographTraditional' | 'ideographZodiac' | 'ideographZodiacTraditional' | 'taiwaneseCounting' | 'ideographLegalTraditional' | 'taiwaneseCountingThousand' | 'taiwaneseDigital' | 'chineseCounting' | 'chineseLegalSimplified' | 'chineseCountingThousand' | 'koreanDigital' | 'koreanCounting' | 'koreanLegal' | 'koreanDigital2' | 'vietnameseCounting' | 'russianLower' | 'russianUpper' | 'none' | 'numberInDash' | 'hebrew1' | 'hebrew2' | 'arabicAlpha' | 'arabicAbjad' | 'hindiVowels' | 'hindiConsonants' | 'hindiNumbers' | 'hindiCounting' | 'thaiLetters' | 'thaiNumbers' | 'thaiCounting';

// @public
export interface NumberingDefinitions {
    abstractNums: AbstractNumbering[];
    nums: NumberingInstance[];
}

// @public
export interface NumberingInstance {
    abstractNumId: number;
    levelOverrides?: Array<{
        ilvl: number;
        startOverride?: number;
        lvl?: ListLevel;
    }>;
    numId: number;
}

// @public
export type PageOrientation = 'portrait' | 'landscape';

// @public
export interface Paragraph {
    content: ParagraphContent[];
    formatting?: ParagraphFormatting;
    listRendering?: ListRendering;
    paraId?: string;
    pPrDel?: TrackedChangeInfo;
    pPrIns?: TrackedChangeInfo;
    propertyChanges?: ParagraphPropertyChange[];
    renderedPageBreakBefore?: boolean;
    sectionProperties?: SectionProperties;
    textId?: string;
    // (undocumented)
    type: 'paragraph';
}

// @public
export type ParagraphAlignment = 'left' | 'center' | 'right' | 'both' | 'distribute' | 'mediumKashida' | 'highKashida' | 'lowKashida' | 'thaiDistribute';

// @public
export type ParagraphContent = Run | Hyperlink | BookmarkStart | BookmarkEnd | SimpleField | ComplexField | InlineSdt | CommentRangeStart | CommentRangeEnd | Insertion | Deletion | MoveFrom | MoveTo | MoveFromRangeStart | MoveFromRangeEnd | MoveToRangeStart | MoveToRangeEnd | MathEquation;

// @public
export interface ParagraphFormatting {
    afterAutospacing?: boolean;
    alignment?: ParagraphAlignment;
    beforeAutospacing?: boolean;
    bidi?: boolean;
    borders?: {
        top?: BorderSpec;
        bottom?: BorderSpec;
        left?: BorderSpec;
        right?: BorderSpec;
        between?: BorderSpec;
        bar?: BorderSpec;
    };
    contextualSpacing?: boolean;
    frame?: {
        width?: number;
        height?: number;
        hAnchor?: 'text' | 'margin' | 'page';
        vAnchor?: 'text' | 'margin' | 'page';
        x?: number;
        y?: number;
        xAlign?: 'left' | 'center' | 'right' | 'inside' | 'outside';
        yAlign?: 'top' | 'center' | 'bottom' | 'inside' | 'outside' | 'inline';
        wrap?: 'around' | 'auto' | 'none' | 'notBeside' | 'through' | 'tight';
    };
    hangingIndent?: boolean;
    indentFirstLine?: number;
    indentLeft?: number;
    indentRight?: number;
    keepLines?: boolean;
    keepNext?: boolean;
    lineSpacing?: number;
    lineSpacingRule?: LineSpacingRule;
    numPr?: {
        numId?: number;
        ilvl?: number;
    };
    numPrFromStyle?: {
        numId?: number;
        ilvl?: number;
    };
    outlineLevel?: number;
    pageBreakBefore?: boolean;
    runProperties?: TextFormatting;
    shading?: ShadingProperties;
    spaceAfter?: number;
    spaceBefore?: number;
    spacingExplicit?: SpacingExplicit;
    styleId?: string;
    suppressAutoHyphens?: boolean;
    suppressLineNumbers?: boolean;
    tabs?: TabStop[];
    widowControl?: boolean;
}

// @public
export interface ParagraphPropertyChange {
    currentFormatting?: ParagraphFormatting;
    info: PropertyChangeInfo;
    previousFormatting?: ParagraphFormatting;
    // (undocumented)
    type: 'paragraphPropertyChange';
}

// @public
export interface PictureWatermark {
    contentType?: string;
    data?: Uint8Array;
    dataUrl?: string;
    heightEmu?: number;
    // (undocumented)
    kind: 'picture';
    mediaPath?: string;
    relId?: string;
    scale: number;
    washout: boolean;
    widthEmu?: number;
}

// @public
export function pictureWatermarkDisplayEmu(naturalWidthPx: number, naturalHeightPx: number): {
    widthEmu: number;
    heightEmu: number;
} | undefined;

// @public
export interface PropertyChangeInfo extends TrackedChangeInfo {
    rsid?: string;
}

// @public
export interface Relationship {
    id: string;
    target: string;
    targetMode?: 'External' | 'Internal';
    type: RelationshipType;
}

// @public
export type RelationshipMap = Map<string, Relationship>;

// @public
export type RelationshipType = 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/image' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/header' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/oleObject' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart' | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramData' | string;

// @public
export interface Run {
    content: RunContent[];
    formatting?: TextFormatting;
    propertyChanges?: RunPropertyChange[];
    // (undocumented)
    type: 'run';
}

// @public
export type RunContent = TextContent | TabContent | BreakContent | SymbolContent | NoteReferenceContent | NoteRefMarkContent | SeparatorContent | FieldCharContent | InstrTextContent | SoftHyphenContent | NoBreakHyphenContent | DrawingContent | ShapeContent;

// @public
export interface RunPropertyChange {
    currentFormatting?: TextFormatting;
    info: PropertyChangeInfo;
    previousFormatting?: TextFormatting;
    // (undocumented)
    type: 'runPropertyChange';
}

// @public
export interface SdtDataBinding {
    prefixMappings?: string;
    storeItemID?: string;
    xpath?: string;
}

// @public
export interface SdtProperties {
    alias?: string;
    checked?: boolean;
    dataBinding?: SdtDataBinding;
    dateFormat?: string;
    id?: number;
    listItems?: {
        displayText: string;
        value: string;
    }[];
    lock?: 'sdtLocked' | 'contentLocked' | 'sdtContentLocked' | 'unlocked';
    placeholder?: string;
    rawEndPropertiesXml?: string;
    rawPropertiesXml?: string;
    sdtType: SdtType;
    showingPlaceholder?: boolean;
    tag?: string;
}

// @public
export type SdtType = 'richText' | 'plainText' | 'date' | 'dropDownList' | 'comboBox' | 'checkbox' | 'picture' | 'buildingBlockGallery' | 'group' | 'equation' | 'citation' | 'bibliography' | 'unknown';

// @public
export interface Section {
    content: BlockContent[];
    footers?: Map<HeaderFooterType, HeaderFooter>;
    headers?: Map<HeaderFooterType, HeaderFooter>;
    properties: SectionProperties;
}

// @public
export interface SectionProperties {
    background?: {
        color?: ColorValue;
        themeColor?: ThemeColorSlot;
        themeTint?: string;
        themeShade?: string;
    };
    bidi?: boolean;
    columnCount?: number;
    columns?: Column[];
    columnSpace?: number;
    docGrid?: {
        type?: 'default' | 'lines' | 'linesAndChars' | 'snapToChars';
        linePitch?: number;
        charSpace?: number;
    };
    endnotePr?: EndnoteProperties;
    equalWidth?: boolean;
    evenAndOddHeaders?: boolean;
    footerDistance?: number;
    footerReferences?: FooterReference[];
    footnotePr?: FootnoteProperties;
    gutter?: number;
    headerDistance?: number;
    headerReferences?: HeaderReference[];
    lineNumbers?: {
        start?: number;
        countBy?: number;
        distance?: number;
        restart?: LineNumberRestart;
    };
    marginBottom?: number;
    marginLeft?: number;
    marginRight?: number;
    marginTop?: number;
    orientation?: PageOrientation;
    pageBorders?: {
        top?: BorderSpec;
        bottom?: BorderSpec;
        left?: BorderSpec;
        right?: BorderSpec;
        display?: 'allPages' | 'firstPage' | 'notFirstPage';
        offsetFrom?: 'page' | 'text';
        zOrder?: 'front' | 'back';
    };
    pageHeight?: number;
    pageWidth?: number;
    paperSrcFirst?: number;
    paperSrcOther?: number;
    sectionStart?: SectionStart;
    separator?: boolean;
    titlePg?: boolean;
    verticalAlign?: VerticalAlign;
}

// @public
export type SectionStart = 'continuous' | 'nextPage' | 'oddPage' | 'evenPage' | 'nextColumn';

// @public
export interface SeparatorContent {
    // (undocumented)
    type: 'separator' | 'continuationSeparator';
}

// @public
export interface ShadingProperties {
    color?: ColorValue;
    fill?: ColorValue;
    pattern?: 'clear' | 'solid' | 'horzStripe' | 'vertStripe' | 'reverseDiagStripe' | 'diagStripe' | 'horzCross' | 'diagCross' | 'thinHorzStripe' | 'thinVertStripe' | 'thinReverseDiagStripe' | 'thinDiagStripe' | 'thinHorzCross' | 'thinDiagCross' | 'pct5' | 'pct10' | 'pct12' | 'pct15' | 'pct20' | 'pct25' | 'pct30' | 'pct35' | 'pct37' | 'pct40' | 'pct45' | 'pct50' | 'pct55' | 'pct60' | 'pct62' | 'pct65' | 'pct70' | 'pct75' | 'pct80' | 'pct85' | 'pct87' | 'pct90' | 'pct95' | 'nil';
}

// @public
export interface Shape {
    customGeometry?: string;
    fill?: ShapeFill;
    id?: string;
    name?: string;
    outline?: ShapeOutline;
    position?: ImagePosition;
    shapeType: ShapeType;
    size: ImageSize;
    textBody?: ShapeTextBody;
    transform?: ImageTransform;
    // (undocumented)
    type: 'shape';
    wrap?: ImageWrap;
}

// @public
export interface ShapeContent {
    shape: Shape;
    // (undocumented)
    type: 'shape';
}

// @public
export interface ShapeFill {
    color?: ColorValue;
    gradient?: {
        type: 'linear' | 'radial' | 'rectangular' | 'path';
        angle?: number;
        stops: Array<{
            position: number;
            color: ColorValue;
        }>;
    };
    // (undocumented)
    type: 'none' | 'solid' | 'gradient' | 'pattern' | 'picture';
}

// @public
export interface ShapeOutline {
    cap?: 'flat' | 'round' | 'square';
    color?: ColorValue;
    headEnd?: {
        type: 'none' | 'triangle' | 'stealth' | 'diamond' | 'oval' | 'arrow';
        width?: 'sm' | 'med' | 'lg';
        length?: 'sm' | 'med' | 'lg';
    };
    join?: 'bevel' | 'miter' | 'round';
    style?: 'solid' | 'dot' | 'dash' | 'lgDash' | 'dashDot' | 'lgDashDot' | 'lgDashDotDot' | 'sysDot' | 'sysDash' | 'sysDashDot' | 'sysDashDotDot';
    tailEnd?: {
        type: 'none' | 'triangle' | 'stealth' | 'diamond' | 'oval' | 'arrow';
        width?: 'sm' | 'med' | 'lg';
        length?: 'sm' | 'med' | 'lg';
    };
    width?: number;
}

// @public
export interface ShapeTextBody {
    anchor?: 'top' | 'middle' | 'bottom' | 'distributed' | 'justified';
    anchorCenter?: boolean;
    autoFit?: 'none' | 'normal' | 'shape';
    content: Paragraph[];
    margins?: {
        top?: number;
        bottom?: number;
        left?: number;
        right?: number;
    };
    rotation?: number;
    vertical?: boolean;
}

// @public
export type ShapeType = 'rect' | 'roundRect' | 'ellipse' | 'triangle' | 'rtTriangle' | 'parallelogram' | 'trapezoid' | 'pentagon' | 'hexagon' | 'heptagon' | 'octagon' | 'decagon' | 'dodecagon' | 'star4' | 'star5' | 'star6' | 'star7' | 'star8' | 'star10' | 'star12' | 'star16' | 'star24' | 'star32' | 'line' | 'straightConnector1' | 'bentConnector2' | 'bentConnector3' | 'bentConnector4' | 'bentConnector5' | 'curvedConnector2' | 'curvedConnector3' | 'curvedConnector4' | 'curvedConnector5' | 'rightArrow' | 'leftArrow' | 'upArrow' | 'downArrow' | 'leftRightArrow' | 'upDownArrow' | 'quadArrow' | 'leftRightUpArrow' | 'bentArrow' | 'uturnArrow' | 'leftUpArrow' | 'bentUpArrow' | 'curvedRightArrow' | 'curvedLeftArrow' | 'curvedUpArrow' | 'curvedDownArrow' | 'stripedRightArrow' | 'notchedRightArrow' | 'homePlate' | 'chevron' | 'rightArrowCallout' | 'downArrowCallout' | 'leftArrowCallout' | 'upArrowCallout' | 'leftRightArrowCallout' | 'quadArrowCallout' | 'circularArrow' | 'flowChartProcess' | 'flowChartAlternateProcess' | 'flowChartDecision' | 'flowChartInputOutput' | 'flowChartPredefinedProcess' | 'flowChartInternalStorage' | 'flowChartDocument' | 'flowChartMultidocument' | 'flowChartTerminator' | 'flowChartPreparation' | 'flowChartManualInput' | 'flowChartManualOperation' | 'flowChartConnector' | 'flowChartOffpageConnector' | 'flowChartPunchedCard' | 'flowChartPunchedTape' | 'flowChartSummingJunction' | 'flowChartOr' | 'flowChartCollate' | 'flowChartSort' | 'flowChartExtract' | 'flowChartMerge' | 'flowChartOnlineStorage' | 'flowChartDelay' | 'flowChartMagneticTape' | 'flowChartMagneticDisk' | 'flowChartMagneticDrum' | 'flowChartDisplay' | 'wedgeRectCallout' | 'wedgeRoundRectCallout' | 'wedgeEllipseCallout' | 'cloudCallout' | 'borderCallout1' | 'borderCallout2' | 'borderCallout3' | 'accentCallout1' | 'accentCallout2' | 'accentCallout3' | 'callout1' | 'callout2' | 'callout3' | 'accentBorderCallout1' | 'accentBorderCallout2' | 'accentBorderCallout3' | 'actionButtonBlank' | 'actionButtonHome' | 'actionButtonHelp' | 'actionButtonInformation' | 'actionButtonBackPrevious' | 'actionButtonForwardNext' | 'actionButtonBeginning' | 'actionButtonEnd' | 'actionButtonReturn' | 'actionButtonDocument' | 'actionButtonSound' | 'actionButtonMovie' | 'irregularSeal1' | 'irregularSeal2' | 'frame' | 'halfFrame' | 'corner' | 'diagStripe' | 'chord' | 'arc' | 'bracketPair' | 'bracePair' | 'leftBracket' | 'rightBracket' | 'leftBrace' | 'rightBrace' | 'can' | 'cube' | 'bevel' | 'donut' | 'noSmoking' | 'blockArc' | 'foldedCorner' | 'smileyFace' | 'heart' | 'lightningBolt' | 'sun' | 'moon' | 'cloud' | 'snip1Rect' | 'snip2SameRect' | 'snip2DiagRect' | 'snipRoundRect' | 'round1Rect' | 'round2SameRect' | 'round2DiagRect' | 'plaque' | 'teardrop' | 'mathPlus' | 'mathMinus' | 'mathMultiply' | 'mathDivide' | 'mathEqual' | 'mathNotEqual' | 'gear6' | 'gear9' | 'funnel' | 'pieWedge' | 'pie' | 'leftCircularArrow' | 'leftRightCircularArrow' | 'swooshArrow' | 'textBox';

// @public
export interface SimpleField {
    content: (Run | Hyperlink)[];
    dirty?: boolean;
    fieldType: FieldType;
    fldLock?: boolean;
    instruction: string;
    // (undocumented)
    type: 'simpleField';
}

// @public
export interface SoftHyphenContent {
    // (undocumented)
    type: 'softHyphen';
}

// @public
export interface Style {
    basedOn?: string;
    default?: boolean;
    hidden?: boolean;
    link?: string;
    name?: string;
    next?: string;
    personal?: boolean;
    pPr?: ParagraphFormatting;
    qFormat?: boolean;
    rPr?: TextFormatting;
    semiHidden?: boolean;
    styleId: string;
    tblPr?: TableFormatting;
    tblStylePr?: Array<{
        type: 'band1Horz' | 'band1Vert' | 'band2Horz' | 'band2Vert' | 'firstCol' | 'firstRow' | 'lastCol' | 'lastRow' | 'neCell' | 'nwCell' | 'seCell' | 'swCell';
        pPr?: ParagraphFormatting;
        rPr?: TextFormatting;
        tblPr?: TableFormatting;
        trPr?: TableRowFormatting;
        tcPr?: TableCellFormatting;
    }>;
    tcPr?: TableCellFormatting;
    trPr?: TableRowFormatting;
    type: StyleType;
    uiPriority?: number;
    unhideWhenUsed?: boolean;
}

// @public
export interface StyleDefinitions {
    docDefaults?: DocDefaults;
    latentStyles?: {
        defLockedState?: boolean;
        defUIPriority?: number;
        defSemiHidden?: boolean;
        defUnhideWhenUsed?: boolean;
        defQFormat?: boolean;
        count?: number;
    };
    styles: Style[];
}

// @public
export type StyleType = 'paragraph' | 'character' | 'numbering' | 'table';

// @public
export interface SymbolContent {
    char: string;
    font: string;
    // (undocumented)
    type: 'symbol';
}

// @public
export interface TabContent {
    // (undocumented)
    type: 'tab';
}

// @public
export interface Table {
    columnWidths?: number[];
    formatting?: TableFormatting;
    propertyChanges?: TablePropertyChange[];
    rows: TableRow[];
    // (undocumented)
    type: 'table';
}

// @public
export type TabLeader = 'none' | 'dot' | 'hyphen' | 'underscore' | 'heavy' | 'middleDot';

// @public
export interface TableBorders {
    // (undocumented)
    bottom?: BorderSpec;
    // (undocumented)
    insideH?: BorderSpec;
    // (undocumented)
    insideV?: BorderSpec;
    // (undocumented)
    left?: BorderSpec;
    // (undocumented)
    right?: BorderSpec;
    // (undocumented)
    top?: BorderSpec;
}

// @public
export interface TableCell {
    content: (Paragraph | Table)[];
    formatting?: TableCellFormatting;
    propertyChanges?: TableCellPropertyChange[];
    structuralChange?: TableStructuralChangeInfo;
    // (undocumented)
    type: 'tableCell';
}

// @public
export interface TableCellFormatting {
    borders?: TableBorders;
    conditionalFormat?: ConditionalFormatStyle;
    fitText?: boolean;
    gridSpan?: number;
    hideMark?: boolean;
    margins?: CellMargins;
    noWrap?: boolean;
    shading?: ShadingProperties;
    textDirection?: 'lr' | 'lrV' | 'rl' | 'rlV' | 'tb' | 'tbV' | 'tbRl' | 'tbRlV' | 'btLr';
    verticalAlign?: 'top' | 'center' | 'bottom';
    vMerge?: 'restart' | 'continue';
    width?: TableMeasurement;
}

// @public
export interface TableCellPropertyChange {
    currentFormatting?: TableCellFormatting;
    info: PropertyChangeInfo;
    previousFormatting?: TableCellFormatting;
    // (undocumented)
    type: 'tableCellPropertyChange';
}

// @public
export interface TableFormatting {
    bidi?: boolean;
    borders?: TableBorders;
    cellMargins?: CellMargins;
    cellSpacing?: TableMeasurement;
    floating?: FloatingTableProperties;
    indent?: TableMeasurement;
    justification?: 'left' | 'center' | 'right';
    layout?: 'fixed' | 'autofit';
    look?: TableLook;
    overlap?: 'never' | 'overlap';
    shading?: ShadingProperties;
    styleId?: string;
    width?: TableMeasurement;
}

// @public
export interface TableLook {
    // (undocumented)
    firstColumn?: boolean;
    // (undocumented)
    firstRow?: boolean;
    // (undocumented)
    lastColumn?: boolean;
    // (undocumented)
    lastRow?: boolean;
    // (undocumented)
    noHBand?: boolean;
    // (undocumented)
    noVBand?: boolean;
}

// @public
export interface TableMeasurement {
    type: TableWidthType;
    value: number;
}

// @public
export interface TablePropertyChange {
    currentFormatting?: TableFormatting;
    info: PropertyChangeInfo;
    previousFormatting?: TableFormatting;
    // (undocumented)
    type: 'tablePropertyChange';
}

// @public
export interface TableRow {
    cells: TableCell[];
    formatting?: TableRowFormatting;
    propertyChanges?: TableRowPropertyChange[];
    structuralChange?: TableStructuralChangeInfo;
    // (undocumented)
    type: 'tableRow';
}

// @public
export interface TableRowFormatting {
    cantSplit?: boolean;
    conditionalFormat?: ConditionalFormatStyle;
    header?: boolean;
    height?: TableMeasurement;
    heightRule?: 'auto' | 'atLeast' | 'exact';
    hidden?: boolean;
    justification?: 'left' | 'center' | 'right';
}

// @public
export interface TableRowPropertyChange {
    currentFormatting?: TableRowFormatting;
    info: PropertyChangeInfo;
    previousFormatting?: TableRowFormatting;
    // (undocumented)
    type: 'tableRowPropertyChange';
}

// @public
export interface TableStructuralChangeInfo {
    info: TrackedChangeInfo;
    // (undocumented)
    type: 'tableRowInsertion' | 'tableRowDeletion' | 'tableCellInsertion' | 'tableCellDeletion' | 'tableCellMerge';
    vMerge?: 'rest' | 'cont';
    vMergeOrig?: 'rest' | 'cont';
}

// @public
export type TableWidthType = 'auto' | 'dxa' | 'nil' | 'pct';

// @public
export interface TabStop {
    alignment: TabStopAlignment;
    leader?: TabLeader;
    position: number;
}

// @public
export type TabStopAlignment = 'left' | 'center' | 'right' | 'decimal' | 'bar' | 'clear' | 'num';

// @public
export interface TextBox {
    content: Paragraph[];
    fill?: ShapeFill;
    id?: string;
    margins?: {
        top?: number;
        bottom?: number;
        left?: number;
        right?: number;
    };
    outline?: ShapeOutline;
    position?: ImagePosition;
    size: ImageSize;
    // (undocumented)
    type: 'textBox';
    wrap?: ImageWrap;
}

// @public
export interface TextContent {
    preserveSpace?: boolean;
    text: string;
    // (undocumented)
    type: 'text';
}

// @public
export type TextEffect = 'none' | 'blinkBackground' | 'lights' | 'antsBlack' | 'antsRed' | 'shimmer' | 'sparkle';

// @public
export interface TextFormatting {
    allCaps?: boolean;
    bold?: boolean;
    boldCs?: boolean;
    color?: ColorValue;
    cs?: boolean;
    doubleStrike?: boolean;
    effect?: TextEffect;
    emboss?: boolean;
    emphasisMark?: EmphasisMark;
    fontFamily?: {
        ascii?: string;
        hAnsi?: string;
        eastAsia?: string;
        cs?: string;
        asciiTheme?: 'majorAscii' | 'majorHAnsi' | 'majorEastAsia' | 'majorBidi' | 'minorAscii' | 'minorHAnsi' | 'minorEastAsia' | 'minorBidi';
        hAnsiTheme?: string;
        eastAsiaTheme?: string;
        csTheme?: string;
    };
    fontSize?: number;
    fontSizeCs?: number;
    hidden?: boolean;
    highlight?: 'black' | 'blue' | 'cyan' | 'darkBlue' | 'darkCyan' | 'darkGray' | 'darkGreen' | 'darkMagenta' | 'darkRed' | 'darkYellow' | 'green' | 'lightGray' | 'magenta' | 'none' | 'red' | 'white' | 'yellow';
    imprint?: boolean;
    italic?: boolean;
    italicCs?: boolean;
    kerning?: number;
    outline?: boolean;
    position?: number;
    rtl?: boolean;
    scale?: number;
    shading?: ShadingProperties;
    shadow?: boolean;
    smallCaps?: boolean;
    spacing?: number;
    strike?: boolean;
    styleId?: string;
    underline?: {
        style: UnderlineStyle;
        color?: ColorValue;
    };
    vertAlign?: 'baseline' | 'superscript' | 'subscript';
}

// @public
export interface TextWatermark {
    color: string;
    font: string;
    fontSize?: number;
    // (undocumented)
    kind: 'text';
    layout: 'diagonal' | 'horizontal';
    semitransparent: boolean;
    text: string;
}

// @public
export interface Theme {
    colorScheme?: ThemeColorScheme;
    fontScheme?: ThemeFontScheme;
    formatScheme?: {
        name?: string;
    };
    name?: string;
}

// @public
export interface ThemeColorScheme {
    accent1?: string;
    // (undocumented)
    accent2?: string;
    // (undocumented)
    accent3?: string;
    // (undocumented)
    accent4?: string;
    // (undocumented)
    accent5?: string;
    // (undocumented)
    accent6?: string;
    dk1?: string;
    dk2?: string;
    folHlink?: string;
    hlink?: string;
    lt1?: string;
    lt2?: string;
}

// @public
export type ThemeColorSlot = 'dk1' | 'lt1' | 'dk2' | 'lt2' | 'accent1' | 'accent2' | 'accent3' | 'accent4' | 'accent5' | 'accent6' | 'hlink' | 'folHlink' | 'background1' | 'text1' | 'background2' | 'text2';

// @public
export interface ThemeFont {
    cs?: string;
    ea?: string;
    fonts?: Record<string, string>;
    latin?: string;
}

// @public
export interface ThemeFontScheme {
    majorFont?: ThemeFont;
    minorFont?: ThemeFont;
}

// @public
export interface TrackedChangeInfo {
    author: string;
    date?: string;
    id: number;
}

// @public
export type TrackedRunChange = Insertion | Deletion | MoveFrom | MoveTo;

// @public
export type UnderlineStyle = 'none' | 'single' | 'words' | 'double' | 'thick' | 'dotted' | 'dottedHeavy' | 'dash' | 'dashedHeavy' | 'dashLong' | 'dashLongHeavy' | 'dotDash' | 'dashDotHeavy' | 'dotDotDash' | 'dashDotDotHeavy' | 'wave' | 'wavyHeavy' | 'wavyDouble';

// @public
export type VerticalAlign = 'top' | 'center' | 'both' | 'bottom';

// @public
export type Watermark = TextWatermark | PictureWatermark;

```
