import * as React from 'react';
import { MountContainer } from '.';
interface ImperativeProps {
    visible?: boolean;
    onClose?: () => void;
    afterClose?: () => void;
    mountContainer?: MountContainer;
}
declare type TargetElement = React.ReactElement<ImperativeProps>;
export interface ImperativeHandler {
    close: () => void;
    replace: (element: TargetElement) => void;
}
export declare const renderImperatively: (element: TargetElement) => ImperativeHandler;
export {};
