import type { ChipStyleConfig, ColorValue, Dimension, ResolvedChipStyleConfig } from '../types.js'; /** Static defaults shared by every chip style: a pale tinted box with a * hairline in the main colour, slightly rounded. The text family, size and * colour inherit the surrounding text and have no static default. */ export declare const DEFAULT_CHIP_STYLE_STATIC: { backgroundEnabled: boolean; background: ColorValue; borderColor: ColorValue; borderWidth: Dimension; borderRadius: Dimension; paddingX: Dimension; paddingY: Dimension; bold: boolean; italic: boolean; gap: Dimension; }; /** One style ships by default so `:chip[…]` works out of the box. */ export declare const DEFAULT_CHIP_STYLES: ChipStyleConfig[]; export declare function resolveChipStylesConfig(partial: ChipStyleConfig[] | undefined): ResolvedChipStyleConfig[]; /** The style a `:chip[…]{style="…"}` selects: the matching id, else the * first configured style (`collectContentWarnings` reports an unknown id in * `doc.contentWarnings`). */ export declare function pickChipStyle(styles: readonly ResolvedChipStyleConfig[], id: string | undefined): ResolvedChipStyleConfig | undefined; /** Drop every field equal to its static default (and `name` equal to `id`). * Inherited fields (`fontFamily`, `fontSize`, `color`, and `paddingTop` / * `paddingBottom`, which follow `paddingY`) are kept whenever set. Returns * `undefined` when the list is the built-in default (a single bare `chip` * style); an empty list stays empty. */ export declare function stripChipStylesDefaults(styles: ChipStyleConfig[] | undefined): ChipStyleConfig[] | undefined; //# sourceMappingURL=chipStyles.d.ts.map