/// declare type Attachment = { id?: number; name: string; key: string; }; declare type EmailTemplateDetail = { id?: number; subject: string; categoryId: number; body: string; attachments: Attachment[]; }; declare const useEmailTemplateDetail: (id?: number | undefined) => { emailTemplateDetail: EmailTemplateDetail; setEditorRef: (node: any) => any; addParams: (params: any) => void; backToList: () => void; confirmData: (data: any) => Promise; edited: boolean; setEdited: import("react").Dispatch>; setEditedTrue: () => Promise; onAttachFile: () => void; updateAttachment: () => void; fileUpload: any; removeAttachment: (inputId: string, fileName: string) => void; tinyMCEKey: string; }; export default useEmailTemplateDetail;