import { type ThemeData } from './ThemeModel'; export interface UseExternalThemeResult { isEnabled: boolean; isPending: boolean; themeData?: ThemeData; } /** * If external theme is configured via `theme=EXTERNAL_THEME_KEY` query param, * handle `postMessage` communication to retrieve the theme data from the parent * Window. The hook will also listen for `MSG_REQUEST_SET_THEME` messages from * the parent and current Window to allow explicitly setting the theme. */ export declare function useExternalTheme(): UseExternalThemeResult; export default useExternalTheme; //# sourceMappingURL=useExternalTheme.d.ts.map