import { t as PptRecord } from "../tree-PMcPNgd-.js"; //#region src/text/style.d.ts declare const ALIGN_LEFT = 0; declare const ALIGN_CENTER = 1; declare const ALIGN_RIGHT = 2; declare const ALIGN_JUSTIFY = 3; declare const ALIGN_DISTRIBUTED = 4; declare const ALIGN_THAI_DISTRIBUTED = 5; declare const ALIGN_JUSTIFY_LOW = 6; declare const PF_HAS_BULLET: number; declare const PF_BULLET_HAS_FONT: number; declare const PF_BULLET_HAS_COLOR: number; declare const PF_BULLET_HAS_SIZE: number; declare const PF_BULLET_FONT: number; declare const PF_BULLET_COLOR: number; declare const PF_BULLET_SIZE: number; declare const PF_BULLET_CHAR: number; declare const PF_LEFT_MARGIN: number; declare const PF_INDENT: number; declare const PF_ALIGN: number; declare const PF_LINE_SPACING: number; declare const PF_SPACE_BEFORE: number; declare const PF_SPACE_AFTER: number; declare const PF_DEFAULT_TAB_SIZE: number; declare const PF_FONT_ALIGN: number; declare const PF_CHAR_WRAP: number; declare const PF_WORD_WRAP: number; declare const PF_OVERFLOW: number; declare const PF_TAB_STOPS: number; declare const PF_TEXT_DIRECTION: number; declare const CF_BOLD: number; declare const CF_ITALIC: number; declare const CF_UNDERLINE: number; declare const CF_SHADOW: number; declare const CF_FEHINT: number; declare const CF_KUMI: number; declare const CF_EMBOSS: number; declare const CF_HAS_STYLE: number; declare const CF_TYPEFACE: number; declare const CF_SIZE: number; declare const CF_COLOR: number; declare const CF_POSITION: number; declare const CF_OLD_EA_TYPEFACE: number; declare const CF_ANSI_TYPEFACE: number; declare const CF_SYMBOL_TYPEFACE: number; declare const STYLE_BOLD: number; declare const STYLE_ITALIC: number; declare const STYLE_UNDERLINE: number; declare const STYLE_SHADOW: number; declare const STYLE_EMBOSS: number; declare const COLOR_INDEX_SRGB = 254; declare const COLOR_INDEX_UNDEFINED = 255; declare const COLOR_SCHEME_SLOT_COUNT = 8; interface RgbColor { readonly red: number; readonly green: number; readonly blue: number; } type RunColor = { readonly kind: "rgb"; readonly rgb: RgbColor; } | { readonly kind: "scheme"; readonly schemeIndex: number; }; interface ParagraphProperties { readonly indentLevel: number; readonly alignment: number | undefined; /** ParaSpacing ([MS-PPT]), raw and unconverted: 0-13200 is a percentage of line height (value/100 = percent), negative is the absolute value in master units. content.ts's own paraSpacingToLineSpacing/paraSpacingToPoints do the schema-facing conversion — this module stays format-level, with no document-schema.js knowledge of its own. */ readonly lineSpacing: number | undefined; readonly spaceBefore: number | undefined; readonly spaceAfter: number | undefined; /** MarginOrIndent ([MS-PPT]): a signed offset in master units, no percentage form — leftMargin is the paragraph's own left margin, indent the first line's own offset relative to it (negative for a hanging/bullet indent), the identical relationship DrawingML's later marL/indent pair states for the same binary predecessor format. */ readonly leftMargin: number | undefined; readonly indent: number | undefined; } interface CharacterProperties { readonly bold: boolean | undefined; readonly italic: boolean | undefined; readonly underline: boolean | undefined; readonly shadow: boolean | undefined; readonly emboss: boolean | undefined; readonly fontRef: number | undefined; readonly sizePt: number | undefined; readonly color: RunColor | undefined; } interface StyleRun { readonly count: number; readonly properties: T; } interface StyleTextProps { readonly paragraphRuns: readonly StyleRun[]; readonly characterRuns: readonly StyleRun[]; } declare function readStyleTextPropAtom(record: PptRecord, characterCount: number): StyleTextProps; interface MasterStyleLevel { readonly paragraph: ParagraphProperties; readonly character: CharacterProperties; } interface MasterTextStyleAtom { readonly textType: number; readonly levels: readonly MasterStyleLevel[]; } declare function readTextMasterStyleAtom(record: PptRecord): MasterTextStyleAtom; //#endregion export { ALIGN_CENTER, ALIGN_DISTRIBUTED, ALIGN_JUSTIFY, ALIGN_JUSTIFY_LOW, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_THAI_DISTRIBUTED, CF_ANSI_TYPEFACE, CF_BOLD, CF_COLOR, CF_EMBOSS, CF_FEHINT, CF_HAS_STYLE, CF_ITALIC, CF_KUMI, CF_OLD_EA_TYPEFACE, CF_POSITION, CF_SHADOW, CF_SIZE, CF_SYMBOL_TYPEFACE, CF_TYPEFACE, CF_UNDERLINE, COLOR_INDEX_SRGB, COLOR_INDEX_UNDEFINED, COLOR_SCHEME_SLOT_COUNT, CharacterProperties, MasterStyleLevel, MasterTextStyleAtom, PF_ALIGN, PF_BULLET_CHAR, PF_BULLET_COLOR, PF_BULLET_FONT, PF_BULLET_HAS_COLOR, PF_BULLET_HAS_FONT, PF_BULLET_HAS_SIZE, PF_BULLET_SIZE, PF_CHAR_WRAP, PF_DEFAULT_TAB_SIZE, PF_FONT_ALIGN, PF_HAS_BULLET, PF_INDENT, PF_LEFT_MARGIN, PF_LINE_SPACING, PF_OVERFLOW, PF_SPACE_AFTER, PF_SPACE_BEFORE, PF_TAB_STOPS, PF_TEXT_DIRECTION, PF_WORD_WRAP, ParagraphProperties, RgbColor, RunColor, STYLE_BOLD, STYLE_EMBOSS, STYLE_ITALIC, STYLE_SHADOW, STYLE_UNDERLINE, StyleRun, StyleTextProps, readStyleTextPropAtom, readTextMasterStyleAtom };