import type { ColorValue, Dimension, MarkDecorationBreak, MarkStyleConfig, ResolvedMarkStyleConfig } from '../types.js'; /** Static defaults shared by every highlight style (#888): a pale yellow * band reaching a little past the phrase, its ends square (the print norm; * up to postext 1.51 they were rounded at 0.2 em, which a configuration * stored then keeps through `pinLegacyMarkRadius`, #1149). The text keeps * its own colour. */ export declare const DEFAULT_MARK_STYLE_STATIC: { background: ColorValue; borderRadius: Dimension; paddingX: Dimension; paddingY: Dimension; decorationBreak: MarkDecorationBreak; }; /** One style ships by default so `:mark[…]` works out of the box. */ export declare const DEFAULT_MARK_STYLES: MarkStyleConfig[]; export declare function resolveMarkStylesConfig(partial: MarkStyleConfig[] | undefined): ResolvedMarkStyleConfig[]; /** The style a `:mark[…]{style="…"}` selects: the matching id, else the * first configured style (`collectContentWarnings` reports an unknown * id). */ export declare function pickMarkStyle(styles: readonly ResolvedMarkStyleConfig[], id: string | undefined): ResolvedMarkStyleConfig | undefined; /** Drop every field equal to its static default (and `name` equal to * `id`); `color`, `paddingTop` and `paddingBottom` are kept whenever set. * Returns `undefined` for the built-in default (a single bare `mark` * style); an empty list stays empty. */ export declare function stripMarkStylesDefaults(styles: MarkStyleConfig[] | undefined): MarkStyleConfig[] | undefined; //# sourceMappingURL=markStyles.d.ts.map