import type { MetabaseColor, MetabaseColors } from "@metabase/embedding-sdk-react/dist/enterprise/frontend/src/embedding-sdk/types/theme";
import type { ColorName, ColorPalette } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase/lib/colors/types";
/**
 * Define SDK colors that can be mapped 1:1 to the main app colors.
 *
 * Every color defined in `lib/colors` can be mapped here. However,
 * we do define a custom public interface for some colors,
 * such as chart colors, which needs to be excluded here.
 */
export type MappableSdkColor = Exclude<MetabaseColor, "charts">;
export declare const SDK_TO_MAIN_APP_COLORS_MAPPING: Record<MappableSdkColor, ColorName>;
/**
 * @param sdkColors color overrides from the SDK theme
 * @param appPalette color palette from the admin appearance settings
 */
export declare function getEmbeddingColorPalette(sdkColors?: MetabaseColors, appPalette?: ColorPalette): ColorPalette;
/**
 * !! Mutate the global colors object to apply the new colors.
 *
 * @param sdkColors color overrides from the SDK theme
 * @param appPalette color palette from the admin appearance settings
 */
export declare function setGlobalEmbeddingColors(sdkColors?: MetabaseColors, appPalette?: ColorPalette): void;
