import type { BaseAvatar, BaseCNAvatar, BaseCNLLM, BaseCNMLLM, BaseCNSTT, BaseCNTTS, BaseLLM, BaseMLLM, BaseSTT, BaseTTS } from "./vendors/base.js"; import type { MicrosoftCNSampleRate, MicrosoftCNSTT, MicrosoftCNTTS } from "./vendors/cn.js"; import type { CustomLLM } from "./vendors/llm.js"; import type { GenericTTS } from "./vendors/tts.js"; export type GlobalLlmVendor = BaseLLM; export type GlobalTtsVendor = BaseTTS; export type GlobalSttVendor = BaseSTT; export type GlobalAvatarVendor = BaseAvatar; export type GlobalMllmVendor = BaseMLLM; export type CNLlmVendor = BaseCNLLM | CustomLLM; export type CNTtsVendor = BaseCNTTS | GenericTTS | (SR extends MicrosoftCNSampleRate ? MicrosoftCNTTS : never); export type CNSttVendor = BaseCNSTT | MicrosoftCNSTT; export type CNAvatarVendor = BaseCNAvatar; export type CNMllmVendor = BaseCNMLLM; export type LlmVendor = GlobalLlmVendor | CNLlmVendor; export type TtsVendor = GlobalTtsVendor | CNTtsVendor; export type SttVendor = GlobalSttVendor | CNSttVendor; export type AvatarVendor = GlobalAvatarVendor | CNAvatarVendor;