import * as $dara from '@darabonba/typescript'; export declare class PrepaidTextTranslateResponseBodyDataTranslations extends $dara.Model { /** * @remarks * The number of characters in the source text. * * @example * 11 */ characters?: number; /** * @remarks * The automatically detected source language. * * @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 PrepaidTextTranslateResponseBodyData extends $dara.Model { /** * @remarks * The translation result list. Each element corresponds to a translation result for an entry in the input text list. */ translations?: PrepaidTextTranslateResponseBodyDataTranslations[]; /** * @remarks * The usage information, including the input character count. */ usageMap?: { [key: string]: number; }; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class PrepaidTextTranslateResponseBody 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?: PrepaidTextTranslateResponseBodyData; /** * @remarks * The error message. The value "Success" is returned for successful calls. For exceptions, a specific error message is returned, such as "The parameters contain sensitive information. Try other input." * * @example * Success */ message?: string; /** * @remarks * The request ID, used to uniquely identify a request. * * @example * E1AD60F1-BAC7-546B-9533-E7AD02B16E3F */ 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; }); }