import { ACTION } from "./command/action"; import { ICOMMAND, IKeyMaybeValue, IRESPONSE, RESULT } from "./command/icommand"; import { baseParamsType } from "./command/baseparams"; import { JSONString } from "../@types"; /** use https://www.deepl.com/de/docs-api/translate-text/translate-text/ for sourceLanguage & targetLanguage values */ export declare class CMDP_DEEPL implements ICOMMAND { action: ACTION; params: baseParamsType & { text: string; sourceLanguage?: string; targetLanguage: string; deeplId?: string; }; } export declare class CMDP_DEEPL_RESPONSE extends CMDP_DEEPL implements IRESPONSE { result: RESULT; commands: ICOMMAND[]; values: IKeyMaybeValue & { text: string; detectedLanguage: string; }; } export declare class CMDP_DEEPLGETLANGUAGES implements ICOMMAND { action: ACTION; params: baseParamsType & { text: string; sourceLanguage?: string; targetLanguage: string; deeplId?: string; }; } export declare type DeeplLanguage = { language: string; name: string; }; export declare class CMDP_DEEPLGETLANGUAGES_RESPONSE extends CMDP_DEEPL implements IRESPONSE { result: RESULT; commands: ICOMMAND[]; values: { sourceLanguages?: JSONString; targetLanguages?: JSONString; }; }