import React from "react"; import type * as T from "./Portal.types"; export declare const usePortalScope: () => T.Context; /** * Disclaimer: Works only for components that don't show the portal immediately * That gives Portal time to receive scope on first render */ declare const Portal: React.FC; export declare function PortalScope(props: T.ScopeProps): React.ReactNode; export declare namespace PortalScope { var displayName: string; } export default Portal;