import type { Rect2, Vector2 } from "./types"; export type CommandLifeCycle = "command_start" | "command_finish"; export type CommandOptions = { preDelay?: number; postDelay?: number; }; export declare abstract class CommandBase { static commandCount: number; readonly id: string; readonly preDelay: number; readonly postDelay: number; constructor(options?: CommandOptions); abstract getCommandArgs(resolutionRatio: Vector2): string[]; } export declare class TapCommand extends CommandBase { readonly targetPos: Vector2; constructor(options: { rect: Rect2; } & CommandOptions); getCommandArgs(resolutionRatio: Vector2): string[]; } export declare class SwipeCommand extends CommandBase { readonly originPos: Vector2; readonly targetPos: Vector2; readonly duration: number; constructor(options: { originRect: Rect2; targetRect: Rect2; duration?: number; } & CommandOptions); getCommandArgs(resolutionRatio: Vector2): string[]; } export declare class keyEventCommand extends CommandBase { readonly keyCode: number; constructor(options: { keyCode: number; } & CommandOptions); getCommandArgs(): string[]; } export declare class TextCommand extends CommandBase { readonly content: string; constructor(options: { content: string; } & CommandOptions); getCommandArgs(): string[]; }