import { MouseButton } from "./buttons"; export declare function press(button?: MouseButton): { get position(): { x: number; y: number; }; press: typeof press; release: typeof release; click: typeof click; moveTo: typeof moveTo; moveRel: typeof moveRel; isPressed: typeof isPressed; dragTo: typeof dragTo; dragRel: typeof dragRel; scroll: typeof scroll; smoothMoveTo: typeof smoothMoveTo; hold: typeof hold; clickAt: typeof clickAt; isAtPosition: typeof isAtPosition; waitForPosition: typeof waitForPosition; waitForPress: typeof waitForPress; waitForRelease: typeof waitForRelease; listener: import("./listener").Listener; }; export declare function release(button?: MouseButton): { get position(): { x: number; y: number; }; press: typeof press; release: typeof release; click: typeof click; moveTo: typeof moveTo; moveRel: typeof moveRel; isPressed: typeof isPressed; dragTo: typeof dragTo; dragRel: typeof dragRel; scroll: typeof scroll; smoothMoveTo: typeof smoothMoveTo; hold: typeof hold; clickAt: typeof clickAt; isAtPosition: typeof isAtPosition; waitForPosition: typeof waitForPosition; waitForPress: typeof waitForPress; waitForRelease: typeof waitForRelease; listener: import("./listener").Listener; }; export declare function click(button?: Exclude, repeat?: number, delay?: number): { get position(): { x: number; y: number; }; press: typeof press; release: typeof release; click: typeof click; moveTo: typeof moveTo; moveRel: typeof moveRel; isPressed: typeof isPressed; dragTo: typeof dragTo; dragRel: typeof dragRel; scroll: typeof scroll; smoothMoveTo: typeof smoothMoveTo; hold: typeof hold; clickAt: typeof clickAt; isAtPosition: typeof isAtPosition; waitForPosition: typeof waitForPosition; waitForPress: typeof waitForPress; waitForRelease: typeof waitForRelease; listener: import("./listener").Listener; }; export declare function moveTo(x?: number, y?: number, relative?: boolean): { get position(): { x: number; y: number; }; press: typeof press; release: typeof release; click: typeof click; moveTo: typeof moveTo; moveRel: typeof moveRel; isPressed: typeof isPressed; dragTo: typeof dragTo; dragRel: typeof dragRel; scroll: typeof scroll; smoothMoveTo: typeof smoothMoveTo; hold: typeof hold; clickAt: typeof clickAt; isAtPosition: typeof isAtPosition; waitForPosition: typeof waitForPosition; waitForPress: typeof waitForPress; waitForRelease: typeof waitForRelease; listener: import("./listener").Listener; }; export declare function moveRel(xOffset?: number, yOffset?: number, relative?: boolean): { get position(): { x: number; y: number; }; press: typeof press; release: typeof release; click: typeof click; moveTo: typeof moveTo; moveRel: typeof moveRel; isPressed: typeof isPressed; dragTo: typeof dragTo; dragRel: typeof dragRel; scroll: typeof scroll; smoothMoveTo: typeof smoothMoveTo; hold: typeof hold; clickAt: typeof clickAt; isAtPosition: typeof isAtPosition; waitForPosition: typeof waitForPosition; waitForPress: typeof waitForPress; waitForRelease: typeof waitForRelease; listener: import("./listener").Listener; }; export declare const move: typeof moveRel; export declare function isPressed(button: MouseButton): boolean; export declare function dragTo(x: number, y: number, button?: Exclude, duration?: number): { get position(): { x: number; y: number; }; press: typeof press; release: typeof release; click: typeof click; moveTo: typeof moveTo; moveRel: typeof moveRel; isPressed: typeof isPressed; dragTo: typeof dragTo; dragRel: typeof dragRel; scroll: typeof scroll; smoothMoveTo: typeof smoothMoveTo; hold: typeof hold; clickAt: typeof clickAt; isAtPosition: typeof isAtPosition; waitForPosition: typeof waitForPosition; waitForPress: typeof waitForPress; waitForRelease: typeof waitForRelease; listener: import("./listener").Listener; }; export declare function dragRel(xOffset: number, yOffset: number, button?: Exclude, duration?: number): { get position(): { x: number; y: number; }; press: typeof press; release: typeof release; click: typeof click; moveTo: typeof moveTo; moveRel: typeof moveRel; isPressed: typeof isPressed; dragTo: typeof dragTo; dragRel: typeof dragRel; scroll: typeof scroll; smoothMoveTo: typeof smoothMoveTo; hold: typeof hold; clickAt: typeof clickAt; isAtPosition: typeof isAtPosition; waitForPosition: typeof waitForPosition; waitForPress: typeof waitForPress; waitForRelease: typeof waitForRelease; listener: import("./listener").Listener; }; export declare function scroll(clicks: number, direction?: "vertical" | "horizontal"): { get position(): { x: number; y: number; }; press: typeof press; release: typeof release; click: typeof click; moveTo: typeof moveTo; moveRel: typeof moveRel; isPressed: typeof isPressed; dragTo: typeof dragTo; dragRel: typeof dragRel; scroll: typeof scroll; smoothMoveTo: typeof smoothMoveTo; hold: typeof hold; clickAt: typeof clickAt; isAtPosition: typeof isAtPosition; waitForPosition: typeof waitForPosition; waitForPress: typeof waitForPress; waitForRelease: typeof waitForRelease; listener: import("./listener").Listener; }; declare const easingFunctions: { linear: (t: number) => number; easeInQuad: (t: number) => number; easeOutQuad: (t: number) => number; easeInOutQuad: (t: number) => number; easeInCubic: (t: number) => number; easeOutCubic: (t: number) => number; easeInOutCubic: (t: number) => number; }; export type EasingFunction = keyof typeof easingFunctions; export declare function smoothMoveTo(x: number, y: number, duration?: number, easing?: EasingFunction): Promise<{ get position(): { x: number; y: number; }; press: typeof press; release: typeof release; click: typeof click; moveTo: typeof moveTo; moveRel: typeof moveRel; isPressed: typeof isPressed; dragTo: typeof dragTo; dragRel: typeof dragRel; scroll: typeof scroll; smoothMoveTo: typeof smoothMoveTo; hold: typeof hold; clickAt: typeof clickAt; isAtPosition: typeof isAtPosition; waitForPosition: typeof waitForPosition; waitForPress: typeof waitForPress; waitForRelease: typeof waitForRelease; listener: import("./listener").Listener; }>; export declare function hold(button: MouseButton, duration: number): { get position(): { x: number; y: number; }; press: typeof press; release: typeof release; click: typeof click; moveTo: typeof moveTo; moveRel: typeof moveRel; isPressed: typeof isPressed; dragTo: typeof dragTo; dragRel: typeof dragRel; scroll: typeof scroll; smoothMoveTo: typeof smoothMoveTo; hold: typeof hold; clickAt: typeof clickAt; isAtPosition: typeof isAtPosition; waitForPosition: typeof waitForPosition; waitForPress: typeof waitForPress; waitForRelease: typeof waitForRelease; listener: import("./listener").Listener; }; export declare function clickAt(x: number, y: number, button?: Exclude): { get position(): { x: number; y: number; }; press: typeof press; release: typeof release; click: typeof click; moveTo: typeof moveTo; moveRel: typeof moveRel; isPressed: typeof isPressed; dragTo: typeof dragTo; dragRel: typeof dragRel; scroll: typeof scroll; smoothMoveTo: typeof smoothMoveTo; hold: typeof hold; clickAt: typeof clickAt; isAtPosition: typeof isAtPosition; waitForPosition: typeof waitForPosition; waitForPress: typeof waitForPress; waitForRelease: typeof waitForRelease; listener: import("./listener").Listener; }; export declare function isAtPosition(x: number, y: number, tolerance?: number): boolean; export declare function waitForPosition(x: number, y: number, timeout?: number, tolerance?: number): Promise; export declare function waitForPress(button: MouseButton, timeout?: number): Promise; export declare function waitForRelease(button: MouseButton, timeout?: number): Promise; export {}; //# sourceMappingURL=actions.d.ts.map