import { FC } from 'react';
import { IModal, ModalCloseReason } from '../../types/modal';

interface ICloseModalParams {
    id: string;
    reason?: ModalCloseReason;
}
interface IEditModalParams {
    id: string;
    views?: IModal['views'];
    title?: IModal['title'];
}
interface IModalProps extends IModal {
    width?: number;
    hasOverlay?: boolean;
    onClose: (params: ICloseModalParams) => void;
    onEdit: (params: IEditModalParams) => void;
}
export declare const Modal: FC<IModalProps>;
export {};
