import { Step, TestLogs } from '@ephox/agar'; export declare type SuccessCallback = (v: any, logs: TestLogs) => void; export declare type FailureCallback = (err: Error | string, logs: TestLogs) => void; export declare type SetupCallback = (editor: any, success: SuccessCallback, failure: FailureCallback, logs?: TestLogs) => void; export declare type SetupCallbackStep = (editor: any) => Step; export declare type LoaderSetup = (callback: SetupCallback, settings: Record, success: SuccessCallback, failure: FailureCallback) => void; export declare const setupVersion: (version: string, testPlugins: string[], callback: SetupCallback, settings: Record, success: SuccessCallback, failure: FailureCallback, logs?: TestLogs) => void; export declare const sSetupVersion: (version: string, testPlugins: string[], callback: SetupCallbackStep, settings: Record) => Step; export declare const sWithVersion: (version: string, step: Step) => Step; export declare const pLoadVersion: (version: string) => Promise;