import type { SupersetTheme, FontSizeKey, ColorVariants, AnyThemeConfig } from '../types'; /** * Get font size from theme tokens based on size key * @param theme - Theme tokens from useTheme() * @param size - Font size key * @returns Font size as string */ export declare function getFontSize(theme: SupersetTheme, size?: FontSizeKey): string; /** * Check if the current theme is dark mode based on background color * @param theme - Theme tokens from useTheme() * @returns true if theme is dark, false if light */ export declare function isThemeDark(theme: SupersetTheme): boolean; /** * Get color variants for a given color type from theme tokens * @param theme - Theme tokens from useTheme() * @param color - Color type (e.g., 'primary', 'error', 'success') * @returns ColorVariants object with bg, border, text colors etc. */ export declare function getColorVariants(theme: SupersetTheme, color: string): ColorVariants; /** * Check if a theme configuration results in a dark theme * @param config - The theme configuration to check * @returns true if the config results in a dark theme, false otherwise */ export declare function isThemeConfigDark(config: AnyThemeConfig): boolean; /** * Hook to determine if the current theme is dark mode * @returns true if theme is dark, false if light */ export declare function useThemeMode(): boolean; //# sourceMappingURL=themeUtils.d.ts.map