import { Chain, Step } from '@ephox/agar'; import { SugarElement } from '@ephox/sugar'; import type { Editor } from '../../alien/EditorTypes'; export interface TinyUi { clickOnToolbar: (elector: string) => void; clickOnMenu: (selector: string) => void; clickOnUi: (selector: string) => void; submitDialog: (selector: string) => void; pWaitForUi: (selector: string) => Promise>; pWaitForPopup: (selector: string) => Promise>; sClickOnToolbar: (label: string, selector: string) => Step; sClickOnMenu: (label: string, selector: string) => Step; sClickOnUi: (label: string, selector: string) => Step; sWaitForUi: (label: string, selector: string) => Step; sWaitForPopup: (label: string, selector: string) => Step; sFillDialogWith: (data: Record, selector: string) => Step; sSubmitDialog: (selector: string) => Step; cWaitForPopup: (label: string, selector: string) => Chain>; cWaitForUi: (label: string, selector: string) => Chain>; cWaitForState: (hasState: (element: SugarElement) => boolean) => (label: string, selector: string) => Chain>; cFillDialogWith: (data: Record) => Chain, SugarElement>; cSubmitDialog: () => Chain, SugarElement>; cAssertDialogContents: (data: Record) => Chain, SugarElement>; cTriggerContextMenu: (label: string, target: string, menu: string) => Chain>; } export declare const TinyUi: (editor: Editor) => TinyUi; //# sourceMappingURL=TinyUi.d.ts.map