/** * Ionic color helpers — single source of truth. * * Several presentational cards used to inline a literal `IONIC_COLORS` array * plus a `resolveColor()` copy. This util consolidates that logic so the named * Ionic palette and the CSS-var resolution live in one place. */ /** The named Ionic color palette tokens. */ export declare const IONIC_COLORS: readonly ["primary", "secondary", "tertiary", "success", "warning", "danger", "light", "medium", "dark"]; export type IonicColor = (typeof IONIC_COLORS)[number]; /** True when `value` is one of the named Ionic palette tokens. */ export declare function isIonicColor(value: string | undefined): value is IonicColor; /** * Resolve a color value to a usable CSS color. * * - A named Ionic token (e.g. `primary`) becomes `var(--ion-color-primary)`. * - Any other value (hex, rgb, CSS var, etc.) is returned unchanged. * - `undefined`/empty returns `undefined`. */ export declare function resolveIonicColor(value: string | undefined): string | undefined;