import { FC, Ref } from 'react'; export declare const portals: string[]; export interface OverlayPortalRef { ref?: Ref; } export interface OverlayPortalMountEvent { overlayIndex: number; portalIndex: number; portalId: string; backdropIndex: number; } export interface OverlayPortalProps { appendToBody?: boolean; className?: string; id?: string; children: (props: OverlayPortalMountEvent) => any; onMount?: (event: OverlayPortalMountEvent) => void; onUnmount?: () => void; } export declare const OverlayPortal: FC;