/** The spacing token names layout attributes accept, smallest to largest. Each maps to a `--cw-spacing-*` token. */ export declare const spacingTokens: readonly ["3x-small", "2x-small", "x-small", "small", "medium", "large", "x-large", "2x-large", "3x-large", "4x-large"]; export type SpacingToken = (typeof spacingTokens)[number]; /** Returns true if `value` is one of the spacing token names. */ export declare function isSpacingToken(value: unknown): value is SpacingToken; /** * Maps a spacing token name to its `var(--cw-spacing-*)` value. An unknown name falls back to `fallback` and logs a * warning naming the element and attribute, so a typo never silently changes the layout. */ export declare function spacingTokenToValue(value: string, fallback: SpacingToken, host: HTMLElement, attribute: string): string;