import { Step } from '@ephox/agar'; import type { Editor } from '../../alien/EditorTypes'; type SyncTestCallback = (initValue: T) => void; type AsyncTestCallback = (initValue: T, done: () => void, die: (err?: any) => void) => void; type Offset = 'after' | 'afterNextCharacter' | number; interface Suite { readonly test: (message: string, fn: SyncTestCallback) => void; readonly asyncTest: (message: string, fn: AsyncTestCallback) => void; readonly toSteps: (initValue: T) => Step[]; } declare const test: (message: string, fn: SyncTestCallback) => (initValue: T) => Step; declare const asyncTest: (message: string, fn: AsyncTestCallback) => (initValue: T) => Step; declare const createSuite: () => Suite; declare const execCommand: (editor: T, cmd: string, ui?: boolean, value?: any) => void; declare const setSelection: (editor: T, startSelector: string | Node, startOffset: Offset, endSelector?: string, endOffset?: Offset) => void; declare const trimBrs: (html: string) => string; declare const equalDom: (actual: T, expected: T, message?: string) => void; declare const equal: (actual: T, expected: T, message?: string) => void; declare const strictEqual: (actual: T, expected: T, message?: string) => void; declare const deepEqual: (actual: T, expected: T, message?: string) => void; export { test, asyncTest, createSuite, execCommand, setSelection, trimBrs, equal, equalDom, strictEqual, deepEqual }; //# sourceMappingURL=LegacyUnit.d.ts.map