"use strict";
var __webpack_require__ = {};
(()=>{
    __webpack_require__.d = (exports1, definition)=>{
        for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
            enumerable: true,
            get: definition[key]
        });
    };
})();
(()=>{
    __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
})();
(()=>{
    __webpack_require__.r = (exports1)=>{
        if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
            value: 'Module'
        });
        Object.defineProperty(exports1, '__esModule', {
            value: true
        });
    };
})();
var __webpack_exports__ = {};
__webpack_require__.r(__webpack_exports__);
__webpack_require__.d(__webpack_exports__, {
    normalizeMobileSwipeParam: ()=>normalizeMobileSwipeParam,
    ActionLongPressParamSchema: ()=>ActionLongPressParamSchema,
    ActionSleepParamSchema: ()=>ActionSleepParamSchema,
    actionScrollParamSchema: ()=>actionScrollParamSchema,
    createDefaultMobileActions: ()=>createDefaultMobileActions,
    defineActionDragAndDrop: ()=>defineActionDragAndDrop,
    actionRightClickParamSchema: ()=>actionRightClickParamSchema,
    defineActionDoubleClick: ()=>defineActionDoubleClick,
    actionInputParamSchema: ()=>actionInputParamSchema,
    actionKeyboardPressParamSchema: ()=>actionKeyboardPressParamSchema,
    AbstractInterface: ()=>AbstractInterface,
    actionClearInputParamSchema: ()=>actionClearInputParamSchema,
    actionHoverParamSchema: ()=>actionHoverParamSchema,
    ActionSwipeParamSchema: ()=>ActionSwipeParamSchema,
    defineActionsFromInputPrimitives: ()=>defineActionsFromInputPrimitives,
    defineActionScroll: ()=>defineActionScroll,
    defineActionClearInput: ()=>defineActionClearInput,
    defineActionPinch: ()=>defineActionPinch,
    defineActionTap: ()=>defineActionTap,
    normalizePinchParam: ()=>normalizePinchParam,
    actionCursorMoveParamSchema: ()=>actionCursorMoveParamSchema,
    defineActionLongPress: ()=>defineActionLongPress,
    defineActionSleep: ()=>defineActionSleep,
    defineActionSwipe: ()=>defineActionSwipe,
    actionDoubleClickParamSchema: ()=>actionDoubleClickParamSchema,
    ActionPinchParamSchema: ()=>ActionPinchParamSchema,
    actionTapParamSchema: ()=>actionTapParamSchema,
    defineActionHover: ()=>defineActionHover,
    defineActionInput: ()=>defineActionInput,
    defineAction: ()=>defineAction,
    actionDragAndDropParamSchema: ()=>actionDragAndDropParamSchema,
    defineActionRightClick: ()=>defineActionRightClick,
    defineActionCursorMove: ()=>defineActionCursorMove,
    defineActionKeyboardPress: ()=>defineActionKeyboardPress
});
const external_common_js_namespaceObject = require("../common.js");
const logger_namespaceObject = require("@midscene/shared/logger");
const external_zod_namespaceObject = require("zod");
function _define_property(obj, key, value) {
    if (key in obj) Object.defineProperty(obj, key, {
        value: value,
        enumerable: true,
        configurable: true,
        writable: true
    });
    else obj[key] = value;
    return obj;
}
class AbstractInterface {
    constructor(){
        _define_property(this, "mjpegStreamUrl", void 0);
        _define_property(this, "inputPrimitives", void 0);
    }
}
const defineAction = (config)=>config;
function pointFromLocate(locate, missingMessage) {
    if (!locate) throw new Error(missingMessage);
    return {
        x: locate.center[0],
        y: locate.center[1]
    };
}
function defineLocatedPointAction(config) {
    return defineAction({
        name: config.name,
        description: config.description,
        interfaceAlias: config.interfaceAlias,
        paramSchema: config.paramSchema,
        sample: config.sample,
        call: async (param)=>{
            await config.call(pointFromLocate(param.locate, config.missingLocateMessage), param);
        }
    });
}
const actionTapParamSchema = external_zod_namespaceObject.z.object({
    locate: (0, external_common_js_namespaceObject.getMidsceneLocationSchema)().describe('The element to be tapped')
});
const defineActionTap = (tap)=>defineLocatedPointAction({
        name: 'Tap',
        description: 'Tap the element',
        interfaceAlias: 'aiTap',
        paramSchema: actionTapParamSchema,
        sample: {
            locate: {
                prompt: 'the "Submit" button'
            }
        },
        missingLocateMessage: 'Element not found, cannot tap',
        call: async (point)=>{
            await tap(point);
        }
    });
const actionRightClickParamSchema = external_zod_namespaceObject.z.object({
    locate: (0, external_common_js_namespaceObject.getMidsceneLocationSchema)().describe('The element to be right clicked')
});
const defineActionRightClick = (rightClick)=>defineLocatedPointAction({
        name: 'RightClick',
        description: 'Right click the element',
        interfaceAlias: 'aiRightClick',
        paramSchema: actionRightClickParamSchema,
        sample: {
            locate: {
                prompt: 'the file icon on the desktop'
            }
        },
        missingLocateMessage: 'Element not found, cannot right click',
        call: async (point)=>{
            await rightClick(point);
        }
    });
const actionDoubleClickParamSchema = external_zod_namespaceObject.z.object({
    locate: (0, external_common_js_namespaceObject.getMidsceneLocationSchema)().describe('The element to be double clicked')
});
const defineActionDoubleClick = (doubleClick)=>defineLocatedPointAction({
        name: 'DoubleClick',
        description: 'Double click the element',
        interfaceAlias: 'aiDoubleClick',
        paramSchema: actionDoubleClickParamSchema,
        sample: {
            locate: {
                prompt: 'the folder icon'
            }
        },
        missingLocateMessage: 'Element not found, cannot double click',
        call: async (point)=>{
            await doubleClick(point);
        }
    });
const actionHoverParamSchema = external_zod_namespaceObject.z.object({
    locate: (0, external_common_js_namespaceObject.getMidsceneLocationSchema)().describe('The element to be hovered')
});
const defineActionHover = (hover)=>defineLocatedPointAction({
        name: 'Hover',
        description: 'Move the mouse to the element',
        interfaceAlias: 'aiHover',
        paramSchema: actionHoverParamSchema,
        sample: {
            locate: {
                prompt: 'the navigation menu item "Products"'
            }
        },
        missingLocateMessage: 'Element not found, cannot hover',
        call: async (point)=>{
            await hover(point);
        }
    });
const inputLocateDescription = 'the position of the placeholder or text content in the target input field. If there is no content, locate the center of the input field.';
const actionInputParamSchema = external_zod_namespaceObject.z.object({
    value: external_zod_namespaceObject.z.union([
        external_zod_namespaceObject.z.string(),
        external_zod_namespaceObject.z.number()
    ]).transform((val)=>String(val)).describe('The text to input. Provide the final content for replace mode, only the inserted characters for typeOnly mode, or an empty string when using clear mode to remove existing text.'),
    locate: (0, external_common_js_namespaceObject.getMidsceneLocationSchema)().describe(inputLocateDescription).optional(),
    mode: external_zod_namespaceObject.z["enum"]([
        'replace',
        'clear',
        'typeOnly'
    ]).default('replace').describe('Input mode: "replace" (default) - clear the field and input the value; "typeOnly" - type the value directly without clearing the field first, and should be set explicitly for incremental edits after moving the cursor; "clear" - clear the field without inputting new text.'),
    autoDismissKeyboard: external_zod_namespaceObject.z.boolean().optional().describe('If true, the keyboard will be dismissed after the input is completed. Do not set it unless the user asks you to do so.')
});
const defineActionInput = (keyboard)=>defineAction({
        name: 'Input',
        description: 'Input the value into the element',
        interfaceAlias: 'aiInput',
        paramSchema: actionInputParamSchema,
        sample: {
            value: 'test@example.com',
            locate: {
                prompt: 'the email input field'
            }
        },
        call: async (param)=>{
            if ('append' === param.mode) param.mode = 'typeOnly';
            if ('clear' === param.mode) return void await keyboard.clearInput(param.locate);
            if (!param || !param.value) return;
            await keyboard.typeText(param.value, {
                target: param.locate,
                replace: 'typeOnly' !== param.mode,
                autoDismissKeyboard: param.autoDismissKeyboard
            });
        }
    });
const actionKeyboardPressParamSchema = external_zod_namespaceObject.z.object({
    locate: (0, external_common_js_namespaceObject.getMidsceneLocationSchema)().describe('The element to be clicked before pressing the key').optional(),
    keyName: external_zod_namespaceObject.z.string().describe("The key to be pressed. Use '+' for key combinations, e.g., 'Control+A', 'Shift+Enter'")
});
const defineActionKeyboardPress = (keyboardPress)=>defineAction({
        name: 'KeyboardPress',
        description: 'Press a key or key combination, like "Enter", "Tab", "Escape", or "Control+A", "Shift+Enter". Do not use this to type text.',
        interfaceAlias: 'aiKeyboardPress',
        paramSchema: actionKeyboardPressParamSchema,
        sample: {
            keyName: 'Enter'
        },
        call: async (param)=>{
            await keyboardPress(param.keyName, {
                target: param.locate
            });
        }
    });
const actionScrollParamSchema = external_zod_namespaceObject.z.object({
    scrollType: external_zod_namespaceObject.z["enum"]([
        'singleAction',
        'scrollToBottom',
        'scrollToTop',
        'scrollToRight',
        'scrollToLeft'
    ]).default('singleAction').describe('The scroll behavior: "singleAction" for a single scroll action, "scrollToBottom" for scrolling all the way to the bottom by rapidly scrolling 5-10 times (skipping intermediate content until reaching the bottom), "scrollToTop" for scrolling all the way to the top by rapidly scrolling 5-10 times (skipping intermediate content until reaching the top), "scrollToRight" for scrolling all the way to the right by rapidly scrolling multiple times, "scrollToLeft" for scrolling all the way to the left by rapidly scrolling multiple times'),
    direction: external_zod_namespaceObject.z["enum"]([
        'down',
        'up',
        'right',
        'left'
    ]).default('down').describe('The direction to scroll. Only effective when scrollType is "singleAction".'),
    distance: external_zod_namespaceObject.z.number().nullable().optional().describe('The distance in pixels to scroll'),
    locate: (0, external_common_js_namespaceObject.getMidsceneLocationSchema)().optional().describe('Describe the target element to be scrolled on, like "the table" or "the list" or "the content area" or "the scrollable area". Do NOT provide a general intent like "scroll to find some element"')
});
const defineActionScroll = (scroll)=>defineAction({
        name: 'Scroll',
        description: 'Scroll the page or a scrollable element to browse content. This is the preferred way to scroll on all platforms, including mobile. Supports scrollToBottom/scrollToTop for boundary navigation. Default: direction `down`, scrollType `singleAction`, distance `null`.',
        interfaceAlias: 'aiScroll',
        paramSchema: actionScrollParamSchema,
        sample: {
            direction: 'down',
            scrollType: 'singleAction',
            locate: {
                prompt: 'the center of the product list area'
            }
        },
        call: async (param)=>{
            await scroll(param);
        }
    });
const actionDragAndDropParamSchema = external_zod_namespaceObject.z.object({
    from: (0, external_common_js_namespaceObject.getMidsceneLocationSchema)().describe('The position to be dragged'),
    to: (0, external_common_js_namespaceObject.getMidsceneLocationSchema)().describe('The position to be dropped')
});
const defineActionDragAndDrop = (dragAndDrop)=>defineAction({
        name: 'DragAndDrop',
        description: 'Pick up a specific UI element and move it to a new position (e.g., reorder a card, move a file into a folder, sort list items). The element itself moves with your finger/mouse.',
        interfaceAlias: 'aiDragAndDrop',
        paramSchema: actionDragAndDropParamSchema,
        sample: {
            from: {
                prompt: 'the "report.pdf" file icon'
            },
            to: {
                prompt: 'the upload drop zone'
            }
        },
        call: async (param)=>{
            const from = param.from;
            const to = param.to;
            if (!from) throw new Error('missing "from" param for drag and drop');
            if (!to) throw new Error('missing "to" param for drag and drop');
            await dragAndDrop({
                x: from.center[0],
                y: from.center[1]
            }, {
                x: to.center[0],
                y: to.center[1]
            });
        }
    });
const ActionLongPressParamSchema = external_zod_namespaceObject.z.object({
    locate: (0, external_common_js_namespaceObject.getMidsceneLocationSchema)().describe('The element to be long pressed'),
    duration: external_zod_namespaceObject.z.number().optional().describe('Long press duration in milliseconds')
});
const defineActionLongPress = (longPress)=>defineLocatedPointAction({
        name: 'LongPress',
        description: 'Long press the element',
        interfaceAlias: 'aiLongPress',
        paramSchema: ActionLongPressParamSchema,
        sample: {
            locate: {
                prompt: 'the message bubble'
            }
        },
        missingLocateMessage: 'LongPress requires an element to be located',
        call: async (point, param)=>{
            await longPress(point, {
                duration: param.duration
            });
        }
    });
const ActionSwipeParamSchema = external_zod_namespaceObject.z.object({
    start: (0, external_common_js_namespaceObject.getMidsceneLocationSchema)().optional().describe('Starting point of the swipe gesture, if not specified, the center of the page will be used'),
    direction: external_zod_namespaceObject.z["enum"]([
        'up',
        'down',
        'left',
        'right'
    ]).optional().describe('The direction to swipe (required when using distance). The direction means the direction of the finger swipe.'),
    distance: external_zod_namespaceObject.z.number().optional().describe('The distance in pixels to swipe (mutually exclusive with end)'),
    end: (0, external_common_js_namespaceObject.getMidsceneLocationSchema)().optional().describe('Ending point of the swipe gesture (mutually exclusive with distance)'),
    duration: external_zod_namespaceObject.z.number().default(300).describe('Duration of the swipe gesture in milliseconds'),
    repeat: external_zod_namespaceObject.z.number().optional().describe('The number of times to repeat the swipe gesture. 1 for default, 0 for infinite (e.g. endless swipe until the end of the page)')
});
function normalizeMobileSwipeParam(param, screenSize) {
    const { width, height } = screenSize;
    const { start, end } = param;
    const startPoint = start ? {
        x: start.center[0],
        y: start.center[1]
    } : {
        x: width / 2,
        y: height / 2
    };
    let endPoint;
    if (end) endPoint = {
        x: end.center[0],
        y: end.center[1]
    };
    else if (param.distance) {
        const direction = param.direction;
        if (!direction) throw new Error('direction is required for swipe gesture');
        endPoint = {
            x: startPoint.x + ('right' === direction ? param.distance : 'left' === direction ? -param.distance : 0),
            y: startPoint.y + ('down' === direction ? param.distance : 'up' === direction ? -param.distance : 0)
        };
    } else throw new Error('Either end or distance must be specified for swipe gesture');
    endPoint.x = Math.max(0, Math.min(endPoint.x, width));
    endPoint.y = Math.max(0, Math.min(endPoint.y, height));
    const duration = param.duration ?? 300;
    let repeatCount = 'number' == typeof param.repeat ? param.repeat : 1;
    if (0 === repeatCount) repeatCount = 10;
    return {
        startPoint,
        endPoint,
        duration,
        repeatCount
    };
}
const defineActionSwipe = (config)=>defineAction({
        name: 'Swipe',
        description: 'Perform a touch gesture for interactions beyond regular scrolling (e.g., flip pages in a carousel, dismiss a notification, swipe-to-delete a list item). For regular content scrolling, use Scroll instead. Use "distance" + "direction" for relative movement, or "end" for precise endpoint.',
        paramSchema: ActionSwipeParamSchema,
        sample: {
            start: {
                prompt: 'center of the notification'
            },
            end: {
                prompt: 'upper edge of the screen'
            }
        },
        call: async (param)=>{
            const { startPoint, endPoint, duration, repeatCount } = normalizeMobileSwipeParam(param, await config.size());
            for(let i = 0; i < repeatCount; i++)await config.swipe(startPoint, endPoint, {
                duration
            });
        }
    });
const actionClearInputParamSchema = external_zod_namespaceObject.z.object({
    locate: (0, external_common_js_namespaceObject.getMidsceneLocationSchema)().describe('The input field to be cleared').optional()
});
const defineActionClearInput = (clearInput)=>defineAction({
        name: 'ClearInput',
        description: inputLocateDescription,
        interfaceAlias: 'aiClearInput',
        paramSchema: actionClearInputParamSchema,
        sample: {
            locate: {
                prompt: 'the search input field'
            }
        },
        call: async (param)=>{
            await clearInput(param.locate);
        }
    });
const actionCursorMoveParamSchema = external_zod_namespaceObject.z.object({
    direction: external_zod_namespaceObject.z["enum"]([
        'left',
        'right'
    ]).describe('The direction to move the cursor'),
    times: external_zod_namespaceObject.z.number().int().min(1).default(1).describe('The number of times to move the cursor in the specified direction')
});
const defineActionCursorMove = (config)=>defineAction({
        name: 'CursorMove',
        description: 'Move the text cursor (caret) left or right within an input field or text area. Use this to reposition the cursor without selecting text.',
        paramSchema: actionCursorMoveParamSchema,
        sample: {
            direction: 'left',
            times: 3
        },
        call: async (param)=>{
            const times = param.times ?? 1;
            if (config.keyboard.cursorMove) return void await config.keyboard.cursorMove(param.direction, times);
            const wait = config.sleep ?? ((timeMs)=>new Promise((resolve)=>setTimeout(resolve, timeMs)));
            const arrowKey = 'left' === param.direction ? 'ArrowLeft' : 'ArrowRight';
            for(let i = 0; i < times; i++){
                await config.keyboard.keyboardPress(arrowKey);
                await wait(100);
            }
        }
    });
const ActionPinchParamSchema = external_zod_namespaceObject.z.object({
    locate: (0, external_common_js_namespaceObject.getMidsceneLocationSchema)().optional().describe('The element to pinch on. If not specified, the center of the screen will be used'),
    direction: external_zod_namespaceObject.z["enum"]([
        'in',
        'out'
    ]).describe('Pinch direction. "in" = pinch fingers together (zoom out / shrink), "out" = spread fingers apart (zoom in / enlarge).'),
    distance: external_zod_namespaceObject.z.number().positive().optional().describe('How far each finger moves in pixels. Defaults to a quarter of the shorter screen dimension.'),
    duration: external_zod_namespaceObject.z.number().default(500).optional().describe('Duration of the pinch gesture in milliseconds')
});
const defineActionPinch = (config)=>{
    if (!config.pinch) return;
    return defineAction({
        name: 'Pinch',
        description: 'Perform a two-finger pinch gesture. Use direction "in" to pinch fingers together (zoom out), or "out" to spread fingers apart (zoom in). Optionally specify distance for how far each finger moves.',
        interfaceAlias: 'aiPinch',
        paramSchema: ActionPinchParamSchema,
        sample: {
            locate: {
                prompt: 'the map area'
            },
            direction: 'out',
            distance: 200
        },
        call: async (param)=>{
            const { centerX, centerY, startDistance, endDistance, duration } = normalizePinchParam(param, await config.size());
            await config.pinch?.({
                x: centerX,
                y: centerY
            }, {
                startDistance,
                endDistance,
                duration
            });
        }
    });
};
function normalizePinchParam(param, screenSize) {
    const { width, height } = screenSize;
    const element = param.locate;
    const centerX = element ? Math.round(element.center[0]) : Math.round(width / 2);
    const centerY = element ? Math.round(element.center[1]) : Math.round(height / 2);
    const duration = param.duration ?? 500;
    const baseDistance = Math.round(Math.min(width, height) / 4);
    const fingerDistance = param.distance ?? baseDistance;
    const startDistance = baseDistance;
    const endDistance = 'out' === param.direction ? baseDistance + fingerDistance : Math.max(10, baseDistance - fingerDistance);
    return {
        centerX,
        centerY,
        startDistance,
        endDistance,
        duration
    };
}
function defineSystemInputAction(config, call) {
    return defineAction({
        name: config.name,
        description: config.description,
        interfaceAlias: config.interfaceAlias,
        delayBeforeRunner: config.delayBeforeRunner,
        delayAfterRunner: config.delayAfterRunner,
        call
    });
}
function defineActionsFromInputPrimitives(input, options = {}) {
    const actions = [];
    const { pointer, keyboard, scroll, touch, system } = input;
    if (pointer) {
        actions.push(defineActionTap(pointer.tap));
        if (pointer.doubleClick) actions.push(defineActionDoubleClick(pointer.doubleClick));
        if (pointer.rightClick) actions.push(defineActionRightClick(pointer.rightClick));
        if (pointer.hover) actions.push(defineActionHover(pointer.hover));
        if (pointer.dragAndDrop) actions.push(defineActionDragAndDrop(pointer.dragAndDrop));
        if (pointer.longPress) actions.push(defineActionLongPress(pointer.longPress));
    }
    if (keyboard) actions.push(defineActionInput(keyboard), defineActionClearInput(keyboard.clearInput), defineActionKeyboardPress(keyboard.keyboardPress), defineActionCursorMove({
        keyboard,
        sleep: options.sleep
    }));
    if (scroll) actions.push(defineActionScroll(scroll.scroll));
    if (touch?.swipe && options.size && false !== options.includeSwipe) actions.push(defineActionSwipe({
        swipe: touch.swipe,
        size: options.size
    }));
    if (touch?.pinch && options.size && false !== options.includePinch) actions.push(defineActionPinch({
        pinch: touch.pinch,
        size: options.size
    }));
    if (system && options.systemActions) {
        const { systemActions } = options;
        if (system.backButton && systemActions.backButton) actions.push(defineSystemInputAction(systemActions.backButton, system.backButton));
        if (system.homeButton && systemActions.homeButton) actions.push(defineSystemInputAction(systemActions.homeButton, system.homeButton));
        if (system.recentAppsButton && systemActions.recentAppsButton) actions.push(defineSystemInputAction(systemActions.recentAppsButton, system.recentAppsButton));
    }
    return actions.filter((action)=>Boolean(action));
}
function createDefaultMobileActions(context) {
    return defineActionsFromInputPrimitives(context.input, {
        size: context.size,
        sleep: context.sleep,
        systemActions: context.systemActions
    });
}
const ActionSleepParamSchema = external_zod_namespaceObject.z.object({
    timeMs: external_zod_namespaceObject.z.number().default(1000).optional().describe('Sleep duration in milliseconds, defaults to 1000ms (1 second)')
});
const defineActionSleep = ()=>defineAction({
        name: 'Sleep',
        description: 'Wait for a specified duration before continuing. Defaults to 1 second (1000ms) if not specified.',
        paramSchema: ActionSleepParamSchema,
        sample: {
            timeMs: 2000
        },
        call: async (param)=>{
            const duration = param?.timeMs ?? 1000;
            (0, logger_namespaceObject.getDebug)('device:common-action')(`Sleeping for ${duration}ms`);
            await new Promise((resolve)=>setTimeout(resolve, duration));
        }
    });
exports.AbstractInterface = __webpack_exports__.AbstractInterface;
exports.ActionLongPressParamSchema = __webpack_exports__.ActionLongPressParamSchema;
exports.ActionPinchParamSchema = __webpack_exports__.ActionPinchParamSchema;
exports.ActionSleepParamSchema = __webpack_exports__.ActionSleepParamSchema;
exports.ActionSwipeParamSchema = __webpack_exports__.ActionSwipeParamSchema;
exports.actionClearInputParamSchema = __webpack_exports__.actionClearInputParamSchema;
exports.actionCursorMoveParamSchema = __webpack_exports__.actionCursorMoveParamSchema;
exports.actionDoubleClickParamSchema = __webpack_exports__.actionDoubleClickParamSchema;
exports.actionDragAndDropParamSchema = __webpack_exports__.actionDragAndDropParamSchema;
exports.actionHoverParamSchema = __webpack_exports__.actionHoverParamSchema;
exports.actionInputParamSchema = __webpack_exports__.actionInputParamSchema;
exports.actionKeyboardPressParamSchema = __webpack_exports__.actionKeyboardPressParamSchema;
exports.actionRightClickParamSchema = __webpack_exports__.actionRightClickParamSchema;
exports.actionScrollParamSchema = __webpack_exports__.actionScrollParamSchema;
exports.actionTapParamSchema = __webpack_exports__.actionTapParamSchema;
exports.createDefaultMobileActions = __webpack_exports__.createDefaultMobileActions;
exports.defineAction = __webpack_exports__.defineAction;
exports.defineActionClearInput = __webpack_exports__.defineActionClearInput;
exports.defineActionCursorMove = __webpack_exports__.defineActionCursorMove;
exports.defineActionDoubleClick = __webpack_exports__.defineActionDoubleClick;
exports.defineActionDragAndDrop = __webpack_exports__.defineActionDragAndDrop;
exports.defineActionHover = __webpack_exports__.defineActionHover;
exports.defineActionInput = __webpack_exports__.defineActionInput;
exports.defineActionKeyboardPress = __webpack_exports__.defineActionKeyboardPress;
exports.defineActionLongPress = __webpack_exports__.defineActionLongPress;
exports.defineActionPinch = __webpack_exports__.defineActionPinch;
exports.defineActionRightClick = __webpack_exports__.defineActionRightClick;
exports.defineActionScroll = __webpack_exports__.defineActionScroll;
exports.defineActionSleep = __webpack_exports__.defineActionSleep;
exports.defineActionSwipe = __webpack_exports__.defineActionSwipe;
exports.defineActionTap = __webpack_exports__.defineActionTap;
exports.defineActionsFromInputPrimitives = __webpack_exports__.defineActionsFromInputPrimitives;
exports.normalizeMobileSwipeParam = __webpack_exports__.normalizeMobileSwipeParam;
exports.normalizePinchParam = __webpack_exports__.normalizePinchParam;
for(var __rspack_i in __webpack_exports__)if (-1 === [
    "AbstractInterface",
    "ActionLongPressParamSchema",
    "ActionPinchParamSchema",
    "ActionSleepParamSchema",
    "ActionSwipeParamSchema",
    "actionClearInputParamSchema",
    "actionCursorMoveParamSchema",
    "actionDoubleClickParamSchema",
    "actionDragAndDropParamSchema",
    "actionHoverParamSchema",
    "actionInputParamSchema",
    "actionKeyboardPressParamSchema",
    "actionRightClickParamSchema",
    "actionScrollParamSchema",
    "actionTapParamSchema",
    "createDefaultMobileActions",
    "defineAction",
    "defineActionClearInput",
    "defineActionCursorMove",
    "defineActionDoubleClick",
    "defineActionDragAndDrop",
    "defineActionHover",
    "defineActionInput",
    "defineActionKeyboardPress",
    "defineActionLongPress",
    "defineActionPinch",
    "defineActionRightClick",
    "defineActionScroll",
    "defineActionSleep",
    "defineActionSwipe",
    "defineActionTap",
    "defineActionsFromInputPrimitives",
    "normalizeMobileSwipeParam",
    "normalizePinchParam"
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
Object.defineProperty(exports, '__esModule', {
    value: true
});

//# sourceMappingURL=index.js.map