import * as z from "zod"; export type Action3 = { type?: "INDEX" | undefined; index: number; }; export type Action2 = { type?: "REGEX" | undefined; pattern: string; }; export type Action1 = { type?: "SUBSTRING" | undefined; substring: string; }; export type Action = Action1 | Action2 | Action3; export type TabCommand = { thoughts?: string | undefined; /** * unique identifier to this step, used for step cache */ id: string; /** * Max seconds for the page to load */ loadTimeout?: number | undefined; type?: "TAB" | undefined; /** * deprecated field - new instances should use the discriminated union */ url?: string | undefined; action?: Action1 | Action2 | Action3 | undefined; }; /** @internal */ export declare const Action3$inboundSchema: z.ZodType; /** @internal */ export type Action3$Outbound = { type: "INDEX"; index: number; }; /** @internal */ export declare const Action3$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 Action3$ { /** @deprecated use `Action3$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Action3$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Action3$Outbound` instead. */ type Outbound = Action3$Outbound; } /** @internal */ export declare const Action2$inboundSchema: z.ZodType; /** @internal */ export type Action2$Outbound = { type: "REGEX"; pattern: string; }; /** @internal */ export declare const Action2$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 Action2$ { /** @deprecated use `Action2$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Action2$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Action2$Outbound` instead. */ type Outbound = Action2$Outbound; } /** @internal */ export declare const Action1$inboundSchema: z.ZodType; /** @internal */ export type Action1$Outbound = { type: "SUBSTRING"; substring: string; }; /** @internal */ export declare const Action1$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 Action1$ { /** @deprecated use `Action1$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Action1$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Action1$Outbound` instead. */ type Outbound = Action1$Outbound; } /** @internal */ export declare const Action$inboundSchema: z.ZodType; /** @internal */ export type Action$Outbound = Action1$Outbound | Action2$Outbound | Action3$Outbound; /** @internal */ export declare const Action$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 Action$ { /** @deprecated use `Action$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Action$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Action$Outbound` instead. */ type Outbound = Action$Outbound; } /** @internal */ export declare const TabCommand$inboundSchema: z.ZodType; /** @internal */ export type TabCommand$Outbound = { thoughts?: string | undefined; id: string; loadTimeout?: number | undefined; type: "TAB"; url?: string | undefined; action?: Action1$Outbound | Action2$Outbound | Action3$Outbound | undefined; }; /** @internal */ export declare const TabCommand$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 TabCommand$ { /** @deprecated use `TabCommand$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `TabCommand$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `TabCommand$Outbound` instead. */ type Outbound = TabCommand$Outbound; } //# sourceMappingURL=tabcommand.d.ts.map