import type { CalloutLabelIconConfig, CalloutLabelIconKind, CalloutStyleConfig, ColorValue, Dimension, ElementAnchor, ResolvedBodyTextConfig, ResolvedCalloutStyleConfig, ResolvedHeadingsConfig, ResolvedUnorderedListsConfig } from '../types.js'; /** Static defaults shared by every callout style. Fields that inherit from * another config section (`titleStyle.fontFamily`, `body.*`, `lists.*`) * are resolved at resolve time and have no static default. */ export declare const DEFAULT_CALLOUT_STYLE_STATIC: { title: string; span: "column"; columns: number; placement: "here"; sideAtColumnEnd: "before"; fixed: { anchor: ElementAnchor; offset: { x: Dimension; y: Dimension; }; }; floatBarrier: boolean; width: "fill"; backgroundEnabled: boolean; background: ColorValue; border: { enabled: boolean; color: ColorValue; width: Dimension; }; borderRadius: Dimension; padding: { top: Dimension; right: Dimension; bottom: Dimension; left: Dimension; }; stripe: { enabled: boolean; side: "left"; width: Dimension; color: ColorValue; }; icon: { kind: "none"; glyph: string; resourceId: string; fontWeight: number; size: Dimension; color: ColorValue; align: "top"; position: "inline"; cornerSide: "right"; }; label: { fontWeight: number; color: ColorValue; background: ColorValue; position: "top-right"; height: Dimension; paddingX: Dimension; offset: Dimension; inset: Dimension; icon: { resourceId: string; width: Dimension; gap: Dimension; placement: "beside"; tint: boolean; glyph: string; scale: number; }; rule: { enabled: boolean; color: ColorValue; width: Dimension; }; }; columnGap: Dimension; marker: { kind: "none"; glyph: string; resourceId: string; fontWeight: number; size: Dimension; color: ColorValue; align: "center"; gap: Dimension; rule: { enabled: boolean; color: ColorValue; width: Dimension; length: Dimension; }; }; titleStyle: { fontWeight: number; italic: boolean; color: ColorValue; textTransform: "none"; gap: Dimension; lineHeight: Dimension; }; marginTop: Dimension; marginBottom: Dimension; snapToGrid: boolean; keepTogether: boolean; splitMinLines: number; repeatTitle: boolean; continuesMarkerEnabled: boolean; continuesMarkerAlign: "right"; continuesMarkerItalic: boolean; }; /** What a label tab's icon is (#1054): the `kind` it names, else a * picture when it names one and a glyph when it sets only a character. * Any other word reads as the default (reported, `unknownConfigValue`). */ export declare function labelIconKind(icon: CalloutLabelIconConfig | undefined): CalloutLabelIconKind; /** A picture's tint as it resolves (#1120): `true` or a colour, absent * for `false` and anything else. */ export declare function iconTint(tint: unknown): true | ColorValue | undefined; /** The size of a label tab's glyph against the tab's words (#1054): a * positive finite factor, else `1`. */ export declare function labelIconScale(scale: unknown): number; /** One neutral style ships by default so `:::callout` works out of the box: * light grey background, no stripe, no icon, no title. */ export declare const DEFAULT_CALLOUT_STYLES: CalloutStyleConfig[]; /** Where a style's `extends` leads (#905): the chain of style indices from * `index` up, nearest first, the first style of each id; `cycle` when it * comes back to a style already in it, `unknown` when a parent id names * no style (the chain stops there). */ export declare function calloutStyleChain(styles: readonly CalloutStyleConfig[], index: number): { chain: number[]; cycle?: number[]; unknown?: string; }; /** The styles with what each inherits through `extends` (#905) written * in, `extends` left out. A style whose chain loops stands alone, and so * does the rest of a chain past an id no style has. */ export declare function inheritCalloutStyles(styles: readonly CalloutStyleConfig[]): CalloutStyleConfig[]; /** Resolve the callout styles. `locale` is the document language of the * continuation strings (`continuedSuffix` / `continuesMarker`) when a * style leaves them unset — `PostextConfig.locale`, else the hyphenation * locale. A style's `extends` (#905) is merged in first. */ export declare function resolveCalloutStylesConfig(partial: CalloutStyleConfig[] | undefined, bodyText: ResolvedBodyTextConfig, headings: ResolvedHeadingsConfig, unorderedLists: ResolvedUnorderedListsConfig, locale?: string): ResolvedCalloutStyleConfig[]; /** Drop every field equal to its static default (and `name` equal to `id`). * Inherited fields (`titleStyle.fontFamily`, `titleStyle.fontSize`, * `icon.fontFamily`, `marker.fontFamily`, `body.*`, `lists.*`) and the * language-dependent continuation strings are kept whenever set, since * their effective default depends on other config sections. Returns * `undefined` when the list is the built-in default (a single bare * `note` style); an empty list stays empty. */ export declare function stripCalloutStylesDefaults(styles: CalloutStyleConfig[] | undefined): CalloutStyleConfig[] | undefined; //# sourceMappingURL=calloutStyles.d.ts.map