/// import { BinaryToTextEncoding } from 'node:crypto'; import { BasicTencentConfig } from '../../type'; declare const config: BasicTencentConfig; /** * 设置翻译配置 * @param configProp */ export declare function setTencentConfig(configProp: typeof config): void; export declare function sha256(message: any, secret?: string, encoding?: BinaryToTextEncoding): string; /** * 翻译多个文本到单个语言的具体实现 */ export declare function translateByTencent(props: { texts: string[]; from: string; to: string; }): Promise<{ success: Record; error: Record; textErrorMsg: Record; }>; export {};