import React from 'react';
export interface PortalProps {
    attach?: HTMLElement | string;
    children: React.ReactNode;
}
export declare const getAttach: (attach: PortalProps['attach']) => Element | null;
declare const Portal: React.ForwardRefExoticComponent<PortalProps & React.RefAttributes<unknown>>;
export default Portal;
