/** * Request Tools - HTTP requests as a sequence step * destination "node" sends directly from the MCP server process (no browser). * destination "browser" runs fetch() inside a connected tab (shares its cookies/session/origin). */ import { z } from 'zod'; export declare function createRequestTools(resolveConnectionFromReason: (connectionReason: string) => Promise): { request: { description: string; zodSchema: z.ZodObject<{ url: z.ZodString; method: z.ZodDefault>>; headers: z.ZodOptional>; body: z.ZodOptional; destination: z.ZodEnum<["browser", "node"]>; connectionReason: z.ZodOptional; timeoutMs: z.ZodOptional; saveAs: z.ZodOptional; }, "strict", z.ZodTypeAny, { url: string; method: "POST" | "HEAD" | "GET" | "PUT" | "PATCH" | "DELETE" | "OPTIONS"; destination: "node" | "browser"; timeoutMs?: number | undefined; body?: string | undefined; connectionReason?: string | undefined; saveAs?: string | undefined; headers?: Record | undefined; }, { url: string; destination: "node" | "browser"; timeoutMs?: number | undefined; body?: string | undefined; connectionReason?: string | undefined; saveAs?: string | undefined; method?: "POST" | "HEAD" | "GET" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | undefined; headers?: Record | undefined; }>; inputSchema: import("zod-to-json-schema").JsonSchema7Type & { $schema?: string | undefined; definitions?: { [key: string]: import("zod-to-json-schema").JsonSchema7Type; } | undefined; }; handler: (args: { url: string; method: "POST" | "HEAD" | "GET" | "PUT" | "PATCH" | "DELETE" | "OPTIONS"; destination: "node" | "browser"; timeoutMs?: number | undefined; body?: string | undefined; connectionReason?: string | undefined; saveAs?: string | undefined; headers?: Record | undefined; }, abortSignal?: AbortSignal) => Promise; }; }; //# sourceMappingURL=request-tools.d.ts.map