import Translator from '@koishijs/translator'; import { Context, Schema } from 'koishi'; declare class DeeplTranslator extends Translator { private id; private fastText?; constructor(ctx: Context, config: DeeplTranslator.Config); translate(options: Translator.Result): Promise; } declare namespace DeeplTranslator { interface Config { defaultTargetLang: string[]; } const Config: Schema; } export { DeeplTranslator as default };