import * as z from "zod"; import { ElementTarget, ElementTarget$Outbound } from "./elementtarget.js"; import { SingleTargetCache, SingleTargetCache$Outbound } from "./singletargetcache.js"; export type ClickCommand = { thoughts?: string | undefined; /** * unique identifier to this step, used for step cache */ id: string; useSelector?: boolean | undefined; force?: boolean | undefined; /** * disable element caching for this step */ disableCache?: boolean | undefined; /** * url or url regex for the iframe */ iframeUrl?: string | undefined; type?: "CLICK" | undefined; target: ElementTarget; doubleClick?: boolean | undefined; rightClick?: boolean | undefined; /** * Deprecated: wait for the click to trigger a page load or new tab that matches the provided URL or URL glob (e.g. https://google.com/** /*). */ waitForUrl?: string | undefined; /** * Wait for the click to trigger a file download and for the file download to complete. */ waitForDownload?: boolean | undefined; cache?: SingleTargetCache | undefined; }; /** @internal */ export declare const ClickCommand$inboundSchema: z.ZodType; /** @internal */ export type ClickCommand$Outbound = { thoughts?: string | undefined; id: string; useSelector?: boolean | undefined; force?: boolean | undefined; disableCache?: boolean | undefined; iframeUrl?: string | undefined; type: "CLICK"; target: ElementTarget$Outbound; doubleClick?: boolean | undefined; rightClick?: boolean | undefined; waitForUrl?: string | undefined; waitForDownload?: boolean | undefined; cache?: SingleTargetCache$Outbound | undefined; }; /** @internal */ export declare const ClickCommand$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace ClickCommand$ { /** @deprecated use `ClickCommand$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ClickCommand$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ClickCommand$Outbound` instead. */ type Outbound = ClickCommand$Outbound; } //# sourceMappingURL=clickcommand.d.ts.map