import React from 'react';
import type { PortalProviderProps } from './PortalProvider.types';
export declare const PortalContext: React.Context<HTMLElement | ShadowRoot | undefined>;
export declare function PortalProvider({ children, container }: PortalProviderProps): React.JSX.Element;
export declare function usePortalContainer(): HTMLElement | ShadowRoot | undefined;
