import { default as React } from 'react';
import { DialogProps } from '@mui/material';
import { IEmail } from '../utils/types';

interface TemplateNameModalProps {
    isOpen: boolean;
    setIsOpen: (value: IEmail | null) => void;
    modalProps?: DialogProps;
    templateRoutes: Record<string, any>;
    payload: Record<string, any>;
    mode: 'add' | 'edit';
    templateData: Record<string, any> | null;
    onSaveSuccess?: () => void;
    onSaveError?: () => void;
    isSaving?: boolean;
}
declare const TemplateNameModal: React.FC<TemplateNameModalProps>;
export default TemplateNameModal;
