/** * Default theme values and utilities for handling optional theme properties */ import type { ThemeConfigJson } from '@json-to-office/shared-docx'; /** * Default colors for themes */ export declare const DEFAULT_COLORS: { primary: string; secondary: string; accent: string; text: string; background: string; border: string; textPrimary: string; textSecondary: string; textMuted: string; borderPrimary: string; borderSecondary: string; backgroundPrimary: string; backgroundSecondary: string; }; /** * Default fonts for themes */ export declare const DEFAULT_FONTS: { heading: { family: string; size: number; }; body: { family: string; size: number; }; mono: { family: string; size: number; }; light: { family: string; size: number; }; }; /** * Default styles for themes */ export declare const DEFAULT_STYLES: { normal: { font: "body"; size: number; color: string; alignment: "left"; lineSpacing: { type: "single"; value: number; }; spacing: { after: number; }; }; heading1: { font: "heading"; size: number; color: string; bold: boolean; spacing: { before: number; after: number; }; }; heading2: { font: "heading"; size: number; color: string; bold: boolean; spacing: { before: number; after: number; }; }; heading3: { font: "heading"; size: number; color: string; bold: boolean; spacing: { before: number; after: number; }; }; heading4: { font: "heading"; size: number; color: string; bold: boolean; spacing: { before: number; after: number; }; }; heading5: { font: "heading"; size: number; color: string; bold: boolean; spacing: { before: number; after: number; }; }; heading6: { font: "heading"; size: number; color: string; bold: boolean; spacing: { before: number; after: number; }; }; }; /** * Default page settings */ export declare const DEFAULT_PAGE: { size: "LETTER"; margins: { top: number; bottom: number; left: number; right: number; header: number; footer: number; gutter: number; }; }; /** * Ensures theme has all required properties with defaults. * * Backfill, never rebuild. This used to return a hand-written literal of the * ten root keys it knew about, which deleted everything else the schema * allows — `fontRegistry` and `noProofWords` were being dropped from every * bundled theme and every `--theme-path` render. That failure is invisible by * construction: the file validates, generation succeeds, and the styling is * simply absent, with nothing to search for. * * So every level spreads what it was given first and fills in defaults after, * including `fonts`, whose four roles are backfilled individually but no * longer bound the set. `theme-round-trip.test.ts` walks `ThemeConfigSchema` * and fails the day a new property is added here and forgotten. */ export declare function ensureThemeDefaults(theme: Partial): ThemeConfigJson; /** * Type guard to check if a theme has all required properties */ export declare function isCompleteTheme(theme: unknown): theme is ThemeConfigJson; /** * Safe getter for theme colors with defaults */ export declare function getThemeColors(theme: Partial): Record; /** * Safe getter for theme fonts with defaults */ export declare function getThemeFonts(theme: Partial): { body: { family: string; size: number; } | { spacing?: { before?: number | undefined; after?: number | undefined; } | undefined; case?: "none" | "upper" | "smallCaps" | undefined; size?: number | undefined; color?: string | undefined; bold?: boolean | undefined; fontWeight?: number | undefined; italic?: boolean | undefined; underline?: boolean | undefined; lineSpacing?: { value?: number | undefined; type: "single" | "atLeast" | "exactly" | "double" | "multiple"; } | undefined; characterSpacing?: { type: "condensed" | "expanded"; value: number; } | undefined; scale?: number | undefined; family: string; }; heading: { family: string; size: number; } | { spacing?: { before?: number | undefined; after?: number | undefined; } | undefined; case?: "none" | "upper" | "smallCaps" | undefined; size?: number | undefined; color?: string | undefined; bold?: boolean | undefined; fontWeight?: number | undefined; italic?: boolean | undefined; underline?: boolean | undefined; lineSpacing?: { value?: number | undefined; type: "single" | "atLeast" | "exactly" | "double" | "multiple"; } | undefined; characterSpacing?: { type: "condensed" | "expanded"; value: number; } | undefined; scale?: number | undefined; family: string; }; mono: { family: string; size: number; } | { spacing?: { before?: number | undefined; after?: number | undefined; } | undefined; case?: "none" | "upper" | "smallCaps" | undefined; size?: number | undefined; color?: string | undefined; bold?: boolean | undefined; fontWeight?: number | undefined; italic?: boolean | undefined; underline?: boolean | undefined; lineSpacing?: { value?: number | undefined; type: "single" | "atLeast" | "exactly" | "double" | "multiple"; } | undefined; characterSpacing?: { type: "condensed" | "expanded"; value: number; } | undefined; scale?: number | undefined; family: string; }; light: { family: string; size: number; } | { spacing?: { before?: number | undefined; after?: number | undefined; } | undefined; case?: "none" | "upper" | "smallCaps" | undefined; size?: number | undefined; color?: string | undefined; bold?: boolean | undefined; fontWeight?: number | undefined; italic?: boolean | undefined; underline?: boolean | undefined; lineSpacing?: { value?: number | undefined; type: "single" | "atLeast" | "exactly" | "double" | "multiple"; } | undefined; characterSpacing?: { type: "condensed" | "expanded"; value: number; } | undefined; scale?: number | undefined; family: string; }; }; /** * Safe getter for theme styles with defaults */ export declare function getThemeStyles(theme: Partial): { normal: { font: "body"; size: number; color: string; alignment: "left"; lineSpacing: { type: "single"; value: number; }; spacing: { after: number; }; } | { spacing?: { before?: number | undefined; after?: number | undefined; } | undefined; case?: "none" | "upper" | "smallCaps" | undefined; size?: number | undefined; color?: string | undefined; bold?: boolean | undefined; fontWeight?: number | undefined; italic?: boolean | undefined; underline?: boolean | undefined; lineSpacing?: { value?: number | undefined; type: "single" | "atLeast" | "exactly" | "double" | "multiple"; } | undefined; characterSpacing?: { type: "condensed" | "expanded"; value: number; } | undefined; scale?: number | undefined; alignment?: "left" | "right" | "center" | "justify" | undefined; priority?: number | undefined; baseStyle?: string | undefined; followingStyle?: string | undefined; widowControl?: boolean | undefined; keepNext?: boolean | undefined; keepLinesTogether?: boolean | undefined; outlineLevel?: number | undefined; borders?: { left?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; top?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; bottom?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; right?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; between?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; } | undefined; indent?: { left?: number | undefined; hanging?: number | undefined; } | undefined; font?: "body" | "heading" | "mono" | "light" | undefined; }; heading1: { font: "heading"; size: number; color: string; bold: boolean; spacing: { before: number; after: number; }; } | { spacing?: { before?: number | undefined; after?: number | undefined; } | undefined; case?: "none" | "upper" | "smallCaps" | undefined; size?: number | undefined; color?: string | undefined; bold?: boolean | undefined; fontWeight?: number | undefined; italic?: boolean | undefined; underline?: boolean | undefined; lineSpacing?: { value?: number | undefined; type: "single" | "atLeast" | "exactly" | "double" | "multiple"; } | undefined; characterSpacing?: { type: "condensed" | "expanded"; value: number; } | undefined; scale?: number | undefined; alignment?: "left" | "right" | "center" | "justify" | undefined; priority?: number | undefined; baseStyle?: string | undefined; followingStyle?: string | undefined; widowControl?: boolean | undefined; keepNext?: boolean | undefined; keepLinesTogether?: boolean | undefined; outlineLevel?: number | undefined; borders?: { left?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; top?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; bottom?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; right?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; between?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; } | undefined; indent?: { left?: number | undefined; hanging?: number | undefined; } | undefined; font?: "body" | "heading" | "mono" | "light" | undefined; }; heading2: { font: "heading"; size: number; color: string; bold: boolean; spacing: { before: number; after: number; }; } | { spacing?: { before?: number | undefined; after?: number | undefined; } | undefined; case?: "none" | "upper" | "smallCaps" | undefined; size?: number | undefined; color?: string | undefined; bold?: boolean | undefined; fontWeight?: number | undefined; italic?: boolean | undefined; underline?: boolean | undefined; lineSpacing?: { value?: number | undefined; type: "single" | "atLeast" | "exactly" | "double" | "multiple"; } | undefined; characterSpacing?: { type: "condensed" | "expanded"; value: number; } | undefined; scale?: number | undefined; alignment?: "left" | "right" | "center" | "justify" | undefined; priority?: number | undefined; baseStyle?: string | undefined; followingStyle?: string | undefined; widowControl?: boolean | undefined; keepNext?: boolean | undefined; keepLinesTogether?: boolean | undefined; outlineLevel?: number | undefined; borders?: { left?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; top?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; bottom?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; right?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; between?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; } | undefined; indent?: { left?: number | undefined; hanging?: number | undefined; } | undefined; font?: "body" | "heading" | "mono" | "light" | undefined; }; heading3: { font: "heading"; size: number; color: string; bold: boolean; spacing: { before: number; after: number; }; } | { spacing?: { before?: number | undefined; after?: number | undefined; } | undefined; case?: "none" | "upper" | "smallCaps" | undefined; size?: number | undefined; color?: string | undefined; bold?: boolean | undefined; fontWeight?: number | undefined; italic?: boolean | undefined; underline?: boolean | undefined; lineSpacing?: { value?: number | undefined; type: "single" | "atLeast" | "exactly" | "double" | "multiple"; } | undefined; characterSpacing?: { type: "condensed" | "expanded"; value: number; } | undefined; scale?: number | undefined; alignment?: "left" | "right" | "center" | "justify" | undefined; priority?: number | undefined; baseStyle?: string | undefined; followingStyle?: string | undefined; widowControl?: boolean | undefined; keepNext?: boolean | undefined; keepLinesTogether?: boolean | undefined; outlineLevel?: number | undefined; borders?: { left?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; top?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; bottom?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; right?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; between?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; } | undefined; indent?: { left?: number | undefined; hanging?: number | undefined; } | undefined; font?: "body" | "heading" | "mono" | "light" | undefined; }; heading4: { font: "heading"; size: number; color: string; bold: boolean; spacing: { before: number; after: number; }; } | { spacing?: { before?: number | undefined; after?: number | undefined; } | undefined; case?: "none" | "upper" | "smallCaps" | undefined; size?: number | undefined; color?: string | undefined; bold?: boolean | undefined; fontWeight?: number | undefined; italic?: boolean | undefined; underline?: boolean | undefined; lineSpacing?: { value?: number | undefined; type: "single" | "atLeast" | "exactly" | "double" | "multiple"; } | undefined; characterSpacing?: { type: "condensed" | "expanded"; value: number; } | undefined; scale?: number | undefined; alignment?: "left" | "right" | "center" | "justify" | undefined; priority?: number | undefined; baseStyle?: string | undefined; followingStyle?: string | undefined; widowControl?: boolean | undefined; keepNext?: boolean | undefined; keepLinesTogether?: boolean | undefined; outlineLevel?: number | undefined; borders?: { left?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; top?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; bottom?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; right?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; between?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; } | undefined; indent?: { left?: number | undefined; hanging?: number | undefined; } | undefined; font?: "body" | "heading" | "mono" | "light" | undefined; }; heading5: { font: "heading"; size: number; color: string; bold: boolean; spacing: { before: number; after: number; }; } | { spacing?: { before?: number | undefined; after?: number | undefined; } | undefined; case?: "none" | "upper" | "smallCaps" | undefined; size?: number | undefined; color?: string | undefined; bold?: boolean | undefined; fontWeight?: number | undefined; italic?: boolean | undefined; underline?: boolean | undefined; lineSpacing?: { value?: number | undefined; type: "single" | "atLeast" | "exactly" | "double" | "multiple"; } | undefined; characterSpacing?: { type: "condensed" | "expanded"; value: number; } | undefined; scale?: number | undefined; alignment?: "left" | "right" | "center" | "justify" | undefined; priority?: number | undefined; baseStyle?: string | undefined; followingStyle?: string | undefined; widowControl?: boolean | undefined; keepNext?: boolean | undefined; keepLinesTogether?: boolean | undefined; outlineLevel?: number | undefined; borders?: { left?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; top?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; bottom?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; right?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; between?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; } | undefined; indent?: { left?: number | undefined; hanging?: number | undefined; } | undefined; font?: "body" | "heading" | "mono" | "light" | undefined; }; heading6: { font: "heading"; size: number; color: string; bold: boolean; spacing: { before: number; after: number; }; } | { spacing?: { before?: number | undefined; after?: number | undefined; } | undefined; case?: "none" | "upper" | "smallCaps" | undefined; size?: number | undefined; color?: string | undefined; bold?: boolean | undefined; fontWeight?: number | undefined; italic?: boolean | undefined; underline?: boolean | undefined; lineSpacing?: { value?: number | undefined; type: "single" | "atLeast" | "exactly" | "double" | "multiple"; } | undefined; characterSpacing?: { type: "condensed" | "expanded"; value: number; } | undefined; scale?: number | undefined; alignment?: "left" | "right" | "center" | "justify" | undefined; priority?: number | undefined; baseStyle?: string | undefined; followingStyle?: string | undefined; widowControl?: boolean | undefined; keepNext?: boolean | undefined; keepLinesTogether?: boolean | undefined; outlineLevel?: number | undefined; borders?: { left?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; top?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; bottom?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; right?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; between?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; } | undefined; indent?: { left?: number | undefined; hanging?: number | undefined; } | undefined; font?: "body" | "heading" | "mono" | "light" | undefined; }; title?: { spacing?: { before?: number | undefined; after?: number | undefined; } | undefined; case?: "none" | "upper" | "smallCaps" | undefined; size?: number | undefined; color?: string | undefined; bold?: boolean | undefined; fontWeight?: number | undefined; italic?: boolean | undefined; underline?: boolean | undefined; lineSpacing?: { value?: number | undefined; type: "single" | "atLeast" | "exactly" | "double" | "multiple"; } | undefined; characterSpacing?: { type: "condensed" | "expanded"; value: number; } | undefined; scale?: number | undefined; alignment?: "left" | "right" | "center" | "justify" | undefined; priority?: number | undefined; baseStyle?: string | undefined; followingStyle?: string | undefined; widowControl?: boolean | undefined; keepNext?: boolean | undefined; keepLinesTogether?: boolean | undefined; outlineLevel?: number | undefined; borders?: { left?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; top?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; bottom?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; right?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; between?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; } | undefined; indent?: { left?: number | undefined; hanging?: number | undefined; } | undefined; font?: "body" | "heading" | "mono" | "light" | undefined; } | undefined; subtitle?: { spacing?: { before?: number | undefined; after?: number | undefined; } | undefined; case?: "none" | "upper" | "smallCaps" | undefined; size?: number | undefined; color?: string | undefined; bold?: boolean | undefined; fontWeight?: number | undefined; italic?: boolean | undefined; underline?: boolean | undefined; lineSpacing?: { value?: number | undefined; type: "single" | "atLeast" | "exactly" | "double" | "multiple"; } | undefined; characterSpacing?: { type: "condensed" | "expanded"; value: number; } | undefined; scale?: number | undefined; alignment?: "left" | "right" | "center" | "justify" | undefined; priority?: number | undefined; baseStyle?: string | undefined; followingStyle?: string | undefined; widowControl?: boolean | undefined; keepNext?: boolean | undefined; keepLinesTogether?: boolean | undefined; outlineLevel?: number | undefined; borders?: { left?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; top?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; bottom?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; right?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; between?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; } | undefined; indent?: { left?: number | undefined; hanging?: number | undefined; } | undefined; font?: "body" | "heading" | "mono" | "light" | undefined; } | undefined; TOC1?: { spacing?: { before?: number | undefined; after?: number | undefined; } | undefined; case?: "none" | "upper" | "smallCaps" | undefined; size?: number | undefined; color?: string | undefined; bold?: boolean | undefined; fontWeight?: number | undefined; italic?: boolean | undefined; underline?: boolean | undefined; lineSpacing?: { value?: number | undefined; type: "single" | "atLeast" | "exactly" | "double" | "multiple"; } | undefined; characterSpacing?: { type: "condensed" | "expanded"; value: number; } | undefined; scale?: number | undefined; alignment?: "left" | "right" | "center" | "justify" | undefined; priority?: number | undefined; followingStyle?: string | undefined; widowControl?: boolean | undefined; keepNext?: boolean | undefined; keepLinesTogether?: boolean | undefined; outlineLevel?: number | undefined; borders?: { left?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; top?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; bottom?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; right?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; between?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; } | undefined; indent?: { left?: number | undefined; hanging?: number | undefined; } | undefined; font?: "body" | "heading" | "mono" | "light" | undefined; tabStops?: { leader?: "none" | "dot" | "hyphen" | "middleDot" | "underscore" | undefined; type: "left" | "right" | "center" | "bar" | "clear" | "decimal" | "end" | "num" | "start"; position: number | "max"; }[] | undefined; } | undefined; TOC2?: { spacing?: { before?: number | undefined; after?: number | undefined; } | undefined; case?: "none" | "upper" | "smallCaps" | undefined; size?: number | undefined; color?: string | undefined; bold?: boolean | undefined; fontWeight?: number | undefined; italic?: boolean | undefined; underline?: boolean | undefined; lineSpacing?: { value?: number | undefined; type: "single" | "atLeast" | "exactly" | "double" | "multiple"; } | undefined; characterSpacing?: { type: "condensed" | "expanded"; value: number; } | undefined; scale?: number | undefined; alignment?: "left" | "right" | "center" | "justify" | undefined; priority?: number | undefined; followingStyle?: string | undefined; widowControl?: boolean | undefined; keepNext?: boolean | undefined; keepLinesTogether?: boolean | undefined; outlineLevel?: number | undefined; borders?: { left?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; top?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; bottom?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; right?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; between?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; } | undefined; indent?: { left?: number | undefined; hanging?: number | undefined; } | undefined; font?: "body" | "heading" | "mono" | "light" | undefined; tabStops?: { leader?: "none" | "dot" | "hyphen" | "middleDot" | "underscore" | undefined; type: "left" | "right" | "center" | "bar" | "clear" | "decimal" | "end" | "num" | "start"; position: number | "max"; }[] | undefined; } | undefined; TOC3?: { spacing?: { before?: number | undefined; after?: number | undefined; } | undefined; case?: "none" | "upper" | "smallCaps" | undefined; size?: number | undefined; color?: string | undefined; bold?: boolean | undefined; fontWeight?: number | undefined; italic?: boolean | undefined; underline?: boolean | undefined; lineSpacing?: { value?: number | undefined; type: "single" | "atLeast" | "exactly" | "double" | "multiple"; } | undefined; characterSpacing?: { type: "condensed" | "expanded"; value: number; } | undefined; scale?: number | undefined; alignment?: "left" | "right" | "center" | "justify" | undefined; priority?: number | undefined; followingStyle?: string | undefined; widowControl?: boolean | undefined; keepNext?: boolean | undefined; keepLinesTogether?: boolean | undefined; outlineLevel?: number | undefined; borders?: { left?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; top?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; bottom?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; right?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; between?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; } | undefined; indent?: { left?: number | undefined; hanging?: number | undefined; } | undefined; font?: "body" | "heading" | "mono" | "light" | undefined; tabStops?: { leader?: "none" | "dot" | "hyphen" | "middleDot" | "underscore" | undefined; type: "left" | "right" | "center" | "bar" | "clear" | "decimal" | "end" | "num" | "start"; position: number | "max"; }[] | undefined; } | undefined; TOC4?: { spacing?: { before?: number | undefined; after?: number | undefined; } | undefined; case?: "none" | "upper" | "smallCaps" | undefined; size?: number | undefined; color?: string | undefined; bold?: boolean | undefined; fontWeight?: number | undefined; italic?: boolean | undefined; underline?: boolean | undefined; lineSpacing?: { value?: number | undefined; type: "single" | "atLeast" | "exactly" | "double" | "multiple"; } | undefined; characterSpacing?: { type: "condensed" | "expanded"; value: number; } | undefined; scale?: number | undefined; alignment?: "left" | "right" | "center" | "justify" | undefined; priority?: number | undefined; followingStyle?: string | undefined; widowControl?: boolean | undefined; keepNext?: boolean | undefined; keepLinesTogether?: boolean | undefined; outlineLevel?: number | undefined; borders?: { left?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; top?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; bottom?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; right?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; between?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; } | undefined; indent?: { left?: number | undefined; hanging?: number | undefined; } | undefined; font?: "body" | "heading" | "mono" | "light" | undefined; tabStops?: { leader?: "none" | "dot" | "hyphen" | "middleDot" | "underscore" | undefined; type: "left" | "right" | "center" | "bar" | "clear" | "decimal" | "end" | "num" | "start"; position: number | "max"; }[] | undefined; } | undefined; TOC5?: { spacing?: { before?: number | undefined; after?: number | undefined; } | undefined; case?: "none" | "upper" | "smallCaps" | undefined; size?: number | undefined; color?: string | undefined; bold?: boolean | undefined; fontWeight?: number | undefined; italic?: boolean | undefined; underline?: boolean | undefined; lineSpacing?: { value?: number | undefined; type: "single" | "atLeast" | "exactly" | "double" | "multiple"; } | undefined; characterSpacing?: { type: "condensed" | "expanded"; value: number; } | undefined; scale?: number | undefined; alignment?: "left" | "right" | "center" | "justify" | undefined; priority?: number | undefined; followingStyle?: string | undefined; widowControl?: boolean | undefined; keepNext?: boolean | undefined; keepLinesTogether?: boolean | undefined; outlineLevel?: number | undefined; borders?: { left?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; top?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; bottom?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; right?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; between?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; } | undefined; indent?: { left?: number | undefined; hanging?: number | undefined; } | undefined; font?: "body" | "heading" | "mono" | "light" | undefined; tabStops?: { leader?: "none" | "dot" | "hyphen" | "middleDot" | "underscore" | undefined; type: "left" | "right" | "center" | "bar" | "clear" | "decimal" | "end" | "num" | "start"; position: number | "max"; }[] | undefined; } | undefined; TOC6?: { spacing?: { before?: number | undefined; after?: number | undefined; } | undefined; case?: "none" | "upper" | "smallCaps" | undefined; size?: number | undefined; color?: string | undefined; bold?: boolean | undefined; fontWeight?: number | undefined; italic?: boolean | undefined; underline?: boolean | undefined; lineSpacing?: { value?: number | undefined; type: "single" | "atLeast" | "exactly" | "double" | "multiple"; } | undefined; characterSpacing?: { type: "condensed" | "expanded"; value: number; } | undefined; scale?: number | undefined; alignment?: "left" | "right" | "center" | "justify" | undefined; priority?: number | undefined; followingStyle?: string | undefined; widowControl?: boolean | undefined; keepNext?: boolean | undefined; keepLinesTogether?: boolean | undefined; outlineLevel?: number | undefined; borders?: { left?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; top?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; bottom?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; right?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; between?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; } | undefined; indent?: { left?: number | undefined; hanging?: number | undefined; } | undefined; font?: "body" | "heading" | "mono" | "light" | undefined; tabStops?: { leader?: "none" | "dot" | "hyphen" | "middleDot" | "underscore" | undefined; type: "left" | "right" | "center" | "bar" | "clear" | "decimal" | "end" | "num" | "start"; position: number | "max"; }[] | undefined; } | undefined; }; /** * Safe getter for normal style with defaults */ export declare function getNormalStyle(theme: Partial): { font: "body"; size: number; color: string; alignment: "left"; lineSpacing: { type: "single"; value: number; }; spacing: { after: number; }; } | { spacing: { after: number; } | { before?: number | undefined; after?: number | undefined; }; case?: "none" | "upper" | "smallCaps" | undefined; size: number; color: string; bold?: boolean | undefined; fontWeight?: number | undefined; italic?: boolean | undefined; underline?: boolean | undefined; lineSpacing: { value?: number | undefined; type: "single" | "atLeast" | "exactly" | "double" | "multiple"; }; characterSpacing?: { type: "condensed" | "expanded"; value: number; } | undefined; scale?: number | undefined; alignment: "left" | "right" | "center" | "justify"; priority?: number | undefined; baseStyle?: string | undefined; followingStyle?: string | undefined; widowControl?: boolean | undefined; keepNext?: boolean | undefined; keepLinesTogether?: boolean | undefined; outlineLevel?: number | undefined; borders?: { left?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; top?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; bottom?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; right?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; between?: { space?: number | undefined; size: number; color: string; style: "single" | "none" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave"; } | undefined; } | undefined; indent?: { left?: number | undefined; hanging?: number | undefined; } | undefined; font: "body" | "heading" | "mono" | "light"; }; //# sourceMappingURL=defaults.d.ts.map