import * as react from 'react';
import { ComponentProps, ReactNode } from 'react';

interface ModalProps extends ComponentProps<'div'> {
    open: boolean;
    toggle?: () => void;
    onClose?: () => void;
    title?: string;
    header?: ReactNode;
    footer?: ReactNode;
    wrapperClassName?: string;
    hideIcon?: boolean;
    position?: 'center' | 'top';
    onOpenChange?: (open: boolean) => void;
}
declare function Modal(props: ModalProps): react.ReactPortal | null;

declare function useToogle(initialActive?: boolean): [boolean, () => void];

export { Modal, Modal as default, useToogle as useToggle };
