import { langCode, langCodeWithAuto } from '../translators/Translator'; import { ICache } from '../utils/Cache'; import { Scheduler } from './Scheduler'; import { IScheduler, ISchedulerTranslateOptions } from '.'; export declare class SchedulerWithCache implements IScheduler { private readonly scheduler; private readonly cache; constructor(scheduler: Scheduler, cache: ICache); abort(context: string): Promise; translate(text: string, from: langCodeWithAuto, to: langCode, options?: ISchedulerTranslateOptions): Promise; private readonly notLetterRegExp; private readonly trimmerRegExp; private getTrimmed; }