import type { ExtendedCSSStyleSheet } from '@fluentui/merge-styles'; import type { MergeStylesShadowRootContextValue } from '../contexts/MergeStylesShadowRootContext'; export type AdoptedStylesheetHook = (stylesheetKey: string) => boolean; export type AdoptedStylesheetExHook = (stylesheetKey: string, shadowCtx: MergeStylesShadowRootContextValue | undefined, rootMergeStyles: Map, win: Window | undefined) => boolean; /** * Use adopted stylesheets in the parent shadow root. */ export declare const useAdoptedStylesheet: AdoptedStylesheetHook; /** * Optimization for specific cases like nested customizables. */ export declare const useAdoptedStylesheetEx: AdoptedStylesheetExHook;