import type { ComposeIconSize } from '../types/index.js'; export { iconSizeDefault }; export type { DefaultSizes }; /** * Default icon sizes if none have been provided to the module */ type DefaultSizes = ComposeIconSize & { sm: string; md: string; lg: string; xl: string; }; declare const iconSizeDefault: DefaultSizes; /** * Merges a project's configured sizes on top of the defaults — the one merge every icon * consumer must agree on (codegen's `size` prop default, the generated CSS, and the runtime * fallback all key off the exact same resulting map). Previously duplicated independently in * module.ts and generate-css-file.ts, which is exactly the kind of drift resolveDefaultSizeKey * was written to prevent for the default key specifically. * * Also reorders the merge by real (parsed) size, ascending, rather than leaving it in * default-keys-then-custom-keys insertion order — a size picker iterating `Object.keys()` * (e.g. the playground) would otherwise jump around non-monotonically once custom keys like * `xs`/`huge` are appended after the defaults. Unparseable values (CSS vars, `clamp()`, design * tokens) keep their relative position instead of being sorted, since their real size isn't * knowable at build time. */ export declare function resolveFinalSizes(iconSizes?: ComposeIconSize): Record; /** * Resolves which configured size key is used when no `size` prop is passed. * * 'md' is the documented default (docs/utilities/use-compose-icon.md) and is kept whenever * the caller's iconSizes actually define it. `Object.keys(iconSizes)[0]` is not a safe * substitute on its own — for `iconSizeDefault` it resolves to `'sm'` (its literal declaration * order), not the documented default — so it's only used as a fallback when 'md' isn't a * configured key. Shared between build-time codegen (module.ts) and the runtime fallback * (useComposeIcon) so both agree on the same default instead of drifting. */ export declare function resolveDefaultSizeKey(iconSizes: Record): string; /** * Resolve Icon size class based on the provided size prop */ export declare function getIconSizeClass(size: string): string; export declare function isRawCssSize(value: string): boolean;