import React from "react";
export interface PortalContextValue {
    addChild: (id: string, node: React.ReactElement) => void;
    removeChild: (id: string) => void;
    children: Map<string, React.ReactElement>;
}
export declare const PortalContext: React.Context<PortalContextValue | undefined>;
export declare const usePortalContext: () => PortalContextValue | undefined;
export interface PortalProviderProps {
    children?: React.ReactNode;
}
export declare const PortalProvider: ({ children }: PortalProviderProps) => JSX.Element;
//# sourceMappingURL=portal-context.d.ts.map