/** * Assert Tool - inline assertions as a sequence step * Compares a (typically {{var:...}}-templated) left value against right using * operator. On failure, returns isError:true, which the executor's existing * abort-on-failure path treats as a hard stop - same semantics as the * must()-throw pattern this replaces in hand-written JS blobs. */ import { z } from 'zod'; export declare function createAssertTools(resolveConnectionFromReason?: (connectionReason: string) => Promise): { assert: { description: string; zodSchema: z.ZodObject<{ left: z.ZodOptional; operator: z.ZodOptional>; right: z.ZodOptional; message: z.ZodOptional; selector: z.ZodOptional; condition: z.ZodOptional>; attribute: z.ZodOptional; timeoutMs: z.ZodOptional; connectionReason: z.ZodOptional; }, "strict", z.ZodTypeAny, { message?: string | undefined; timeoutMs?: number | undefined; selector?: string | undefined; connectionReason?: string | undefined; condition?: "count" | "text" | "visible" | "present" | "hittable" | "absent" | "attribute" | "enabled" | undefined; left?: any; right?: any; operator?: "contains" | "equals" | "matches" | "gt" | "gte" | "lt" | "lte" | "notEquals" | "exists" | "notExists" | undefined; attribute?: string | undefined; }, { message?: string | undefined; timeoutMs?: number | undefined; selector?: string | undefined; connectionReason?: string | undefined; condition?: "count" | "text" | "visible" | "present" | "hittable" | "absent" | "attribute" | "enabled" | undefined; left?: any; right?: any; operator?: "contains" | "equals" | "matches" | "gt" | "gte" | "lt" | "lte" | "notEquals" | "exists" | "notExists" | undefined; attribute?: string | undefined; }>; inputSchema: import("zod-to-json-schema").JsonSchema7Type & { $schema?: string | undefined; definitions?: { [key: string]: import("zod-to-json-schema").JsonSchema7Type; } | undefined; }; handler: (args: { message?: string | undefined; timeoutMs?: number | undefined; selector?: string | undefined; connectionReason?: string | undefined; condition?: "count" | "text" | "visible" | "present" | "hittable" | "absent" | "attribute" | "enabled" | undefined; left?: any; right?: any; operator?: "contains" | "equals" | "matches" | "gt" | "gte" | "lt" | "lte" | "notEquals" | "exists" | "notExists" | undefined; attribute?: string | undefined; }, abortSignal?: AbortSignal) => Promise; }; }; //# sourceMappingURL=assert-tools.d.ts.map