import type { ThemeOrOverride } from './EmotionTypes'; import type { ComponentTheme } from '@instructure/shared-types'; import { ThemeOverrideProp } from './withStyle'; import { ThemeOverrideValue } from './useStyle'; /** * --- * private: true * --- * This is a utility function which calculates the correct component theme * based on every possible override there is. * @param theme - Theme object * @param displayName - Name of the component * @param componentId - componentId of the component * @param themeOverride - The theme override object * @param componentTheme - The component's default theme * @returns The calculated theme override object */ declare const getComponentThemeOverride: (theme: ThemeOrOverride, displayName: string, componentId?: string, themeOverride?: ThemeOverrideProp["themeOverride"] | ThemeOverrideValue, componentTheme?: ComponentTheme) => Partial; export default getComponentThemeOverride; export { getComponentThemeOverride }; //# sourceMappingURL=getComponentThemeOverride.d.ts.map