import * as z from "zod"; import { ClosedEnum } from "../types/enums.js"; /** * 目标语言代码。请从支持的语言列表中选择一个语言代码。 */ export declare const PostTranslateTextToLang: { readonly Sq: "sq"; readonly Ga: "ga"; readonly Et: "et"; readonly Ar: "ar"; readonly Am: "am"; readonly Az: "az"; readonly Be: "be"; readonly Bg: "bg"; readonly Eu: "eu"; readonly Is: "is"; readonly Pl: "pl"; readonly BsLatn: "bs-Latn"; readonly Fa: "fa"; readonly Da: "da"; readonly De: "de"; readonly Ru: "ru"; readonly Fr: "fr"; readonly Tl: "tl"; readonly Fi: "fi"; readonly Fy: "fy"; readonly Km: "km"; readonly Ka: "ka"; readonly Gu: "gu"; readonly Ht: "ht"; readonly Ko: "ko"; readonly Ha: "ha"; readonly Kk: "kk"; readonly Nl: "nl"; readonly Gl: "gl"; readonly Ca: "ca"; readonly Cs: "cs"; readonly Ky: "ky"; readonly Kn: "kn"; readonly Tlh: "tlh"; readonly Hr: "hr"; readonly Otq: "otq"; readonly Co: "co"; readonly Ku: "ku"; readonly La: "la"; readonly Lo: "lo"; readonly Lv: "lv"; readonly Lt: "lt"; readonly Ro: "ro"; readonly Lb: "lb"; readonly Mg: "mg"; readonly Mt: "mt"; readonly Mr: "mr"; readonly Ms: "ms"; readonly Ml: "ml"; readonly Mi: "mi"; readonly Mk: "mk"; readonly Mn: "mn"; readonly Bn: "bn"; readonly My: "my"; readonly Mww: "mww"; readonly Hmn: "hmn"; readonly Xh: "xh"; readonly Zu: "zu"; readonly Ne: "ne"; readonly No: "no"; readonly Pa: "pa"; readonly Ps: "ps"; readonly Pt: "pt"; readonly Ny: "ny"; readonly Ja: "ja"; readonly Sv: "sv"; readonly SrLatn: "sr-Latn"; readonly SrCyrl: "sr-Cyrl"; readonly St: "st"; readonly Sm: "sm"; readonly Si: "si"; readonly Eo: "eo"; readonly Sk: "sk"; readonly Sl: "sl"; readonly Sw: "sw"; readonly Gd: "gd"; readonly So: "so"; readonly Ceb: "ceb"; readonly Te: "te"; readonly Ta: "ta"; readonly Th: "th"; readonly Tg: "tg"; readonly Tr: "tr"; readonly Cy: "cy"; readonly ZhLzh: "zh-lzh"; readonly Ur: "ur"; readonly Uk: "uk"; readonly Uz: "uz"; readonly Haw: "haw"; readonly Es: "es"; readonly He: "he"; readonly El: "el"; readonly Sd: "sd"; readonly Hu: "hu"; readonly Sn: "sn"; readonly Hy: "hy"; readonly Ig: "ig"; readonly It: "it"; readonly Yi: "yi"; readonly Hi: "hi"; readonly Id: "id"; readonly En: "en"; readonly Su: "su"; readonly Jw: "jw"; readonly Yua: "yua"; readonly Yo: "yo"; readonly Vi: "vi"; readonly ZhCHS: "zh-CHS"; readonly ZhCHT: "zh-CHT"; }; /** * 目标语言代码。请从支持的语言列表中选择一个语言代码。 */ export type PostTranslateTextToLang = ClosedEnum; export declare const PostTranslateTextToLang$zodSchema: z.ZodEnum<{ id: "id"; en: "en"; co: "co"; ps: "ps"; sq: "sq"; ga: "ga"; et: "et"; ar: "ar"; am: "am"; az: "az"; be: "be"; bg: "bg"; eu: "eu"; is: "is"; pl: "pl"; "bs-Latn": "bs-Latn"; fa: "fa"; da: "da"; de: "de"; ru: "ru"; fr: "fr"; tl: "tl"; fi: "fi"; fy: "fy"; km: "km"; ka: "ka"; gu: "gu"; ht: "ht"; ko: "ko"; ha: "ha"; kk: "kk"; nl: "nl"; gl: "gl"; ca: "ca"; cs: "cs"; ky: "ky"; kn: "kn"; tlh: "tlh"; hr: "hr"; otq: "otq"; ku: "ku"; la: "la"; lo: "lo"; lv: "lv"; lt: "lt"; ro: "ro"; lb: "lb"; mg: "mg"; mt: "mt"; mr: "mr"; ms: "ms"; ml: "ml"; mi: "mi"; mk: "mk"; mn: "mn"; bn: "bn"; my: "my"; mww: "mww"; hmn: "hmn"; xh: "xh"; zu: "zu"; ne: "ne"; no: "no"; pa: "pa"; pt: "pt"; ny: "ny"; ja: "ja"; sv: "sv"; "sr-Latn": "sr-Latn"; "sr-Cyrl": "sr-Cyrl"; st: "st"; sm: "sm"; si: "si"; eo: "eo"; sk: "sk"; sl: "sl"; sw: "sw"; gd: "gd"; so: "so"; ceb: "ceb"; te: "te"; ta: "ta"; th: "th"; tg: "tg"; tr: "tr"; cy: "cy"; "zh-lzh": "zh-lzh"; ur: "ur"; uk: "uk"; uz: "uz"; haw: "haw"; es: "es"; he: "he"; el: "el"; sd: "sd"; hu: "hu"; sn: "sn"; hy: "hy"; ig: "ig"; it: "it"; yi: "yi"; hi: "hi"; su: "su"; jw: "jw"; yua: "yua"; yo: "yo"; vi: "vi"; "zh-CHS": "zh-CHS"; "zh-CHT": "zh-CHT"; }>; /** * 包含待翻译文本的JSON对象 */ export type PostTranslateTextRequestBody = { text: string; }; export declare const PostTranslateTextRequestBody$zodSchema: z.ZodType; export type PostTranslateTextRequest = { to_lang: PostTranslateTextToLang; body: PostTranslateTextRequestBody; }; export declare const PostTranslateTextRequest$zodSchema: z.ZodType; export type PostTranslateTextInternalServerErrorDetails = {}; export declare const PostTranslateTextInternalServerErrorDetails$zodSchema: z.ZodType; /** * 翻译失败 */ export type PostTranslateTextInternalServerErrorResponseBody = { code?: string | undefined; details?: PostTranslateTextInternalServerErrorDetails | undefined; message?: string | undefined; }; export declare const PostTranslateTextInternalServerErrorResponseBody$zodSchema: z.ZodType; export type PostTranslateTextBadRequestDetails = {}; export declare const PostTranslateTextBadRequestDetails$zodSchema: z.ZodType; /** * 无效的请求体 */ export type PostTranslateTextBadRequestResponseBody = { code?: string | undefined; details?: PostTranslateTextBadRequestDetails | undefined; message?: string | undefined; }; export declare const PostTranslateTextBadRequestResponseBody$zodSchema: z.ZodType; /** * 成功响应 */ export type PostTranslateTextResponseBody = { source_lang?: string | undefined; translated_text?: string | undefined; }; export declare const PostTranslateTextResponseBody$zodSchema: z.ZodType; export type PostTranslateTextResponse = PostTranslateTextResponseBody | PostTranslateTextBadRequestResponseBody | PostTranslateTextInternalServerErrorResponseBody; export declare const PostTranslateTextResponse$zodSchema: z.ZodType; //# sourceMappingURL=posttranslatetextop.d.ts.map