import * as $dara from '@darabonba/typescript'; export declare class LanguageDetectResponseBodyData extends $dara.Model { /** * @remarks * The detected language code. * * @example * zh */ detectedLanguage?: string; /** * @remarks * The usage information, including the number of input characters. * * @example * {"InputCharacterCount":4} */ usageMap?: { [key: string]: number; }; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class LanguageDetectResponseBody extends $dara.Model { /** * @remarks * The response code. A value of 200 indicates a successful call. For other response codes, refer to the error code documentation. * * @example * 200 */ code?: string; /** * @remarks * The language identification result data, including the detected language and usage information. */ data?: LanguageDetectResponseBodyData; /** * @remarks * The error message. "Success" is returned for a successful call. A specific error message is returned for a failed call, such as "The parameters contain sensitive information. Try other input." * * @example * Success */ message?: string; /** * @remarks * The request ID, which uniquely identifies the request. * * @example * 42542C6C-F2A4-1B2B-8EFF-130C8FD06F54 */ 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; }); }