import { type ReactNode } from 'react';
import type { Children, PortalContextValue } from '../types/node.type.js';
export declare const PortalContext: import("react").Context<PortalContextValue | null>;
/**
 * Provides portal context to the component tree.
 * Manages the portal stack state and exposes methods for opening/closing portals.
 * Must wrap any components that use `usePortal()` or `PortalHost`.
 * @param children The children to render.
 * @returns The rendered component tree with portal context.
 */
export default function PortalProvider({ children }: {
    children?: Children;
}): ReactNode;
//# sourceMappingURL=portal-provider.client.d.ts.map