import { default as React } from 'react';
export declare const usePortal: (isOpen: boolean, onClose: () => void, portalPosition: {
    top: number;
    left: number;
}, zIndex?: number) => {
    portalRef: React.RefObject<HTMLDivElement>;
    renderPortal: (children: React.ReactNode) => React.ReactPortal | null;
};
//# sourceMappingURL=usePortal.d.ts.map