14 lines
624 B
TypeScript
14 lines
624 B
TypeScript
import { MergeStylesShadowRootContextValue } from '../contexts/MergeStylesShadowRootContext';
|
|
export type HasMergeStylesShadowRootContextHook = () => boolean;
|
|
export type MergeStylesShadowRootContextHook = () => MergeStylesShadowRootContextValue | undefined;
|
|
/**
|
|
* Test if a context is available.
|
|
* @returns true if there is a context.
|
|
*/
|
|
export declare const useHasMergeStylesShadowRootContext: HasMergeStylesShadowRootContextHook;
|
|
/**
|
|
* Get a reference to the shadow root context.
|
|
* @returns The context for the shadow root.
|
|
*/
|
|
export declare const useMergeStylesShadowRootContext: MergeStylesShadowRootContextHook;
|