 export interface saveListTemplateProps {
  name?: string;
  content?: {
    receiver: string;
    subject: string;
    content: string;
    imageUrl: string | null;
    linkUrl: string[] | string;
    textLinkUrl: string[] | string;
    keyword: Array<string | { keyword: string; value: string }>;
    html: string;
  };
  editMode?: boolean;
  id?: number;
  onClose?: () => void;
  onSuccess?: () =>  Promise<void>;
}

 export interface DataTemplate {
  id: number;
  name: string;
  content: {
    receiver: string;
    subject: string;
    content: string;
    imageUrl: string | null;
    linkUrl: string[] | string;
    textLinkUrl: string[] | string;
    keyword: Array<string | { keyword: string; value: string }>;
    html: string;
  }
}