import { type ReactNode } from 'react';
interface ShadowRootContextValue {
    shadowRoot: ShadowRoot;
    portalRoot: HTMLElement;
    overlayContainer: HTMLElement;
}
export interface ShadowRootProviderProps {
    shadowRoot: ShadowRoot;
    portalRoot: HTMLElement;
    overlayContainer: HTMLElement;
    children: ReactNode;
}
export declare function ShadowRootProvider({ shadowRoot, portalRoot, overlayContainer, children, }: ShadowRootProviderProps): import("react/jsx-runtime").JSX.Element;
/**
 * Access the shadow root context. Always available — SmartCanvasElement
 * wraps the React tree in ShadowRootProvider, and tests use the helper.
 */
export declare function useShadowRoot(): ShadowRootContextValue;
export {};
