import { FieldValues, SubmitHandler } from 'react-hook-form';

export interface ITAndCFormValues {
}
export type IEmail = Record<string, any>;
export interface IFormProps {
    onSubmit: SubmitHandler<FieldValues>;
    mode?: 'add' | 'edit' | 'duplicate';
}
export interface Pagination {
    pageNo: number;
    limit: number;
    totalCount: number;
}
export interface IFormValues {
    billingCycle: {
        name: string;
        id: number;
        duration: string;
        count?: number;
        company?: string;
    };
}
export interface ITemplateProps {
    type: 'email' | 'pdf';
    module: string;
    modulePath: string;
}
export interface ITemplateFormProps {
    type: 'email' | 'pdf';
    module: string;
    modulePath: string;
}
