import React, { ReactElement } from 'react'; declare type OpenGate = (key: string | ReactElement, value?: ReactElement | undefined) => void; declare type CloseGate = (key?: string | undefined) => void; export declare const openGate: OpenGate; export declare const closeGate: CloseGate; export declare const clearGate: (keys: string | string[] | undefined) => void; export declare const usePortal: (gateName: string) => [state: unknown, setState: (state: unknown) => void]; export declare const PortalGate: React.FC<{ name?: string; }>; export {};