import { IJsPath } from 'awaited-dom/base/AwaitedPath'; import { IKeyboardKeyCode } from './IKeyboardLayoutUS'; export declare type IInteractionGroups = IInteractionGroup[]; export declare type IInteractionGroup = IInteractionStep[]; export interface IInteractionStep { command: IInteractionCommand; mousePosition?: IMousePosition; mouseButton?: IMouseButton; keyboardCommands?: IKeyboardCommand[]; keyboardDelayBetween?: number; keyboardKeyupDelay?: number; delayNode?: IJsPath; delayElement?: IJsPath; delayMillis?: number; } export declare enum InteractionCommand { move = "move", scroll = "scroll", willDismissDialog = "willDismissDialog", click = "click", clickDown = "clickDown", clickUp = "clickUp", doubleclick = "doubleclick", type = "type", waitForNode = "waitForNode", waitForElementVisible = "waitForElementVisible", waitForMillis = "waitForMillis" } export declare type IInteractionCommand = keyof typeof InteractionCommand; export declare enum MouseButton { left = "left", middle = "middle", right = "right" } export declare type IMouseButton = keyof typeof MouseButton; export declare type IMousePositionXY = [number, number]; export declare type IMousePosition = IMousePositionXY | IJsPath; export declare type IKeyboardCommand = IKeyPress | IKeyboardObject; export declare type IKeyboardObject = IKeyboardString | IKeyboardUp | IKeyboardDown; export interface IKeyboardString { string: string; } export interface IKeyPress { keyCode: IKeyboardKeyCode; } export interface IKeyboardUp { up: IKeyboardKeyCode; } export interface IKeyboardDown { down: IKeyboardKeyCode; }