import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; /** * css pixel bounding box */ export type BoundingBox = { x?: number | undefined; y?: number | undefined; width: number; height: number; }; export declare const TargetSource: { readonly Ai: "AI"; readonly AiHealed: "AI_HEALED"; readonly ClickToFind: "CLICK_TO_FIND"; readonly XyPercent: "XY_PERCENT"; readonly Recording: "RECORDING"; readonly UserCssSelector: "USER_CSS_SELECTOR"; readonly HeuristicHealed: "HEURISTIC_HEALED"; }; export type TargetSource = ClosedEnum; /** * DEPRECATED: new a11y cache is stored in DB and resolved into the 'cache' field */ export type A11yTargetWithCache = { id: number; dataMomenticId?: number | undefined; selector?: string | undefined; generatedSelectors?: Array | undefined; role?: string | undefined; name?: string | undefined; numChildren?: number | undefined; content?: string | undefined; pathFromRoot?: string | undefined; serializedForm?: string | undefined; nodeOnlySerializedForm?: string | undefined; /** * pruned html including 1 neighbor and 1 layer of children. value for text inputs pruned. */ serializedHtml?: string | undefined; /** * outerHtml of the element without any children. value for text inputs pruned. */ nodeOnlySerializedHtml?: string | undefined; screenshotUrl?: string | undefined; /** * css pixel bounding box */ boundingBox?: BoundingBox | undefined; /** * the description that generated this cache */ inputDescription?: string | undefined; targetSource?: TargetSource | undefined; targetUpdateTime?: string | undefined; }; /** @internal */ export declare const BoundingBox$inboundSchema: z.ZodType; /** @internal */ export type BoundingBox$Outbound = { x?: number | undefined; y?: number | undefined; width: number; height: number; }; /** @internal */ export declare const BoundingBox$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 BoundingBox$ { /** @deprecated use `BoundingBox$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `BoundingBox$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `BoundingBox$Outbound` instead. */ type Outbound = BoundingBox$Outbound; } /** @internal */ export declare const TargetSource$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const TargetSource$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace TargetSource$ { /** @deprecated use `TargetSource$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Ai: "AI"; readonly AiHealed: "AI_HEALED"; readonly ClickToFind: "CLICK_TO_FIND"; readonly XyPercent: "XY_PERCENT"; readonly Recording: "RECORDING"; readonly UserCssSelector: "USER_CSS_SELECTOR"; readonly HeuristicHealed: "HEURISTIC_HEALED"; }>; /** @deprecated use `TargetSource$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Ai: "AI"; readonly AiHealed: "AI_HEALED"; readonly ClickToFind: "CLICK_TO_FIND"; readonly XyPercent: "XY_PERCENT"; readonly Recording: "RECORDING"; readonly UserCssSelector: "USER_CSS_SELECTOR"; readonly HeuristicHealed: "HEURISTIC_HEALED"; }>; } /** @internal */ export declare const A11yTargetWithCache$inboundSchema: z.ZodType; /** @internal */ export type A11yTargetWithCache$Outbound = { id: number; dataMomenticId?: number | undefined; selector?: string | undefined; generatedSelectors?: Array | undefined; role?: string | undefined; name?: string | undefined; numChildren?: number | undefined; content?: string | undefined; pathFromRoot?: string | undefined; serializedForm?: string | undefined; nodeOnlySerializedForm?: string | undefined; serializedHtml?: string | undefined; nodeOnlySerializedHtml?: string | undefined; screenshotUrl?: string | undefined; boundingBox?: BoundingBox$Outbound | undefined; inputDescription?: string | undefined; targetSource?: string | undefined; targetUpdateTime?: string | undefined; }; /** @internal */ export declare const A11yTargetWithCache$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 A11yTargetWithCache$ { /** @deprecated use `A11yTargetWithCache$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `A11yTargetWithCache$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `A11yTargetWithCache$Outbound` instead. */ type Outbound = A11yTargetWithCache$Outbound; } //# sourceMappingURL=a11ytargetwithcache.d.ts.map