import * as $dara from '@darabonba/typescript'; export declare class TextTranslateResponseBodyDataTranslations extends $dara.Model { /** * @remarks * The number of characters in the source text. * * @example * 11 */ characters?: number; /** * @remarks * The automatically detected source language code. * * @example * en */ detectedLanguage?: string; /** * @remarks * The translated text. * * @example * Hello World */ translatedText?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class TextTranslateResponseBodyData extends $dara.Model { /** * @remarks * The translation result list. Each element corresponds to a translation result for an entry in the input text list. */ translations?: TextTranslateResponseBodyDataTranslations[]; /** * @remarks * The usage information, including the number of input characters. * * @example * {"InputCharacterCount":5} */ usageMap?: { [key: string]: number; }; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class TextTranslateResponseBody extends $dara.Model { /** * @remarks * The response code. The value "success" is returned for successful calls. * * @example * success */ code?: string; /** * @remarks * The translation result data, including the translation list and usage information. */ data?: TextTranslateResponseBodyData; /** * @remarks * The error message. The value "Success" is returned for successful calls. For failed calls, a specific error message is returned, such as "The parameters contain sensitive information. Try other input." * * @example * Success */ message?: string; /** * @remarks * The request ID, which uniquely identifies a single API call. * * @example * 922E43BB-EE0E-1A29-B143-BB91BB3EA6AB */ requestId?: string; /** * @remarks * Indicates whether the call is successful. A value of true indicates success. A value of false indicates failure. * * @example * true */ success?: boolean; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }