import * as z from "zod/v4"; import * as discriminatedUnionTypes from "../types/discriminatedUnion.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; import { WebSearchSource } from "./websearchsource.js"; import { WebSearchStatus } from "./websearchstatus.js"; export type OutputItemWebSearchCallActionFindInPage = { pattern: string; type: "find_in_page"; url: string; }; export type OutputItemWebSearchCallActionOpenPage = { type: "open_page"; url?: string | null | undefined; }; export type OutputItemWebSearchCallActionSearch = { queries?: Array | undefined; query: string; sources?: Array | undefined; type: "search"; }; export type OutputItemWebSearchCallActionUnion = OutputItemWebSearchCallActionSearch | OutputItemWebSearchCallActionOpenPage | OutputItemWebSearchCallActionFindInPage | discriminatedUnionTypes.Unknown<"type">; export type OutputItemWebSearchCall = { action?: OutputItemWebSearchCallActionSearch | OutputItemWebSearchCallActionOpenPage | OutputItemWebSearchCallActionFindInPage | discriminatedUnionTypes.Unknown<"type"> | undefined; id: string; status: WebSearchStatus; type: "web_search_call"; additionalProperties?: { [k: string]: any; } | undefined; }; /** @internal */ export declare const OutputItemWebSearchCallActionFindInPage$inboundSchema: z.ZodType; export declare function outputItemWebSearchCallActionFindInPageFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const OutputItemWebSearchCallActionOpenPage$inboundSchema: z.ZodType; export declare function outputItemWebSearchCallActionOpenPageFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const OutputItemWebSearchCallActionSearch$inboundSchema: z.ZodType; export declare function outputItemWebSearchCallActionSearchFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const OutputItemWebSearchCallActionUnion$inboundSchema: z.ZodType; export declare function outputItemWebSearchCallActionUnionFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const OutputItemWebSearchCall$inboundSchema: z.ZodType; export declare function outputItemWebSearchCallFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=outputitemwebsearchcall.d.ts.map