Files
starface-outlook-sync-addin/node_modules/@fluentui/utilities/lib/shadowDom/contexts/MergeStylesDefaultContext.d.ts
T
Stefan Hacker 37ad745546 first commit
2026-04-03 09:38:48 +02:00

22 lines
1.3 KiB
TypeScript

import type { ExtendedCSSStyleSheet } from '@fluentui/merge-styles';
import * as React from 'react';
import type { AdoptedStylesheetExHook, AdoptedStylesheetHook } from '../hooks/useAdoptedStylesheet';
import type { ShadowConfigHook } from '../hooks/useShadowConfig';
import type { HasMergeStylesShadowRootContextHook, MergeStylesShadowRootContextHook } from '../hooks/useMergeStylesShadowRoot';
import type { MergeStylesRootStylesheetsHook } from '../hooks/useMergeStylesRootStylesheets';
import type { UseStyledHook } from '../hooks/useStyled';
export declare const getNewContext: () => MergeStylesDefaultContextValue;
export type UseWindowHook = () => Window | undefined;
export type MergeStylesDefaultContextValue = {
stylesheets: Map<string, ExtendedCSSStyleSheet>;
useAdoptedStylesheetEx: AdoptedStylesheetExHook;
useAdoptedStylesheet: AdoptedStylesheetHook;
useShadowConfig: ShadowConfigHook;
useMergeStylesShadowRootContext: MergeStylesShadowRootContextHook;
useHasMergeStylesShadowRootContext: HasMergeStylesShadowRootContextHook;
useMergeStylesRootStylesheets: MergeStylesRootStylesheetsHook;
useWindow: UseWindowHook;
useStyled: UseStyledHook;
};
export declare const MergeStylesDefaultContext: React.Context<MergeStylesDefaultContextValue>;