import { ReactNode } from 'react'; import { ModalController } from './ModalController'; import { ModalParams } from './types'; interface ModalPortalProps { /** * If not presented, will be used from the context. */ controller: ModalController; children: ReactNode; onClose?(): void; onUserClose?(): void; onUnmountClose?(): void; params?: Partial; } /** * Renders given children as a modal. * * Can render */ export declare function ModalPortal(props: ModalPortalProps): import("react/jsx-runtime").JSX.Element | null; export {};