import { type ITheme } from "@gooddata/sdk-model"; /** * Drops palette colors that the `polished` color functions cannot parse. * * @remarks * A single invalid color (e.g. a typo like "#1616D") would otherwise make theme application throw. * An invalid color is treated exactly like an omitted one: it is removed so the standard default * applies (missing shades are interpolated, missing family/complementary colors fall back to the * default theme), while every other valid color is preserved. A color family whose base is invalid * is dropped as a whole, since the family is meaningless without a base. The try/catch in * ThemeProvider remains the hard backstop for any color path not covered here. */ export declare const sanitizePalette: (theme: ITheme) => ITheme; export declare const prepareComplementaryPalette: (theme: ITheme) => ITheme; export declare const prepareBaseColors: (theme: ITheme) => ITheme; export declare const stripComplementaryPalette: (theme: ITheme) => ITheme; export declare const preparePrimaryColor: (theme: ITheme) => ITheme; export declare const prepareTheme: (theme: ITheme, enableComplementaryPalette?: boolean) => ITheme; //# sourceMappingURL=prepareTheme.d.ts.map