export type VoiceLibraryTabKey = "official" | "created";
export type VoiceCloneGender = "male" | "female";
export type VoiceCloneMode = "record" | "upload";

export interface VoiceLibraryTab {
  key: VoiceLibraryTabKey;
  label: string;
}

export interface VoiceCloneDraft {
  gender: VoiceCloneGender;
  cloneMode: VoiceCloneMode;
  targetLanguage: string;
  nameMaxLength: number;
}

export const voiceLibraryTabs: VoiceLibraryTab[] = [
  { key: "official", label: "官方音色" },
  { key: "created", label: "我创建的声音" },
];

export const voiceCloneLanguageOptions = ["不指定", "中文", "英文", "日语", "韩语", "法语", "德语", "俄语"];

export const VOICE_CLONE_SCRIPT =
  "尊敬的患者您好，欢迎来到智能健康管理中心，接下来请您放松身心，我们将为您讲解日常养生的注意事项，包括合理膳食搭配、每日运动强度建议以及常见慢性病的预防方法，有需要定制个性化健康方案的可以随时告知。";

export function createVoiceCloneDraft(): VoiceCloneDraft {
  return {
    gender: "male",
    cloneMode: "record",
    targetLanguage: "不指定",
    nameMaxLength: 20,
  };
}
