import type { ToolContext } from '../context.js'; import { z } from 'zod'; import { type ToolDefinition, type ToolResult } from './common.js'; declare const makeEndpointRequestInputSchema: z.ZodType<{ apiName: string; endpointId: string; headers?: Record | null | undefined; body?: unknown; query?: Record | null | undefined; timeoutMs?: number | undefined; accept?: string | undefined; contentType?: string | undefined; pathParams?: Record | null | undefined; cookies?: Record | null | undefined; files?: Record | undefined; maxRetries429?: number | undefined; dryRun?: boolean | undefined; } & { fields?: string[]; }, z.ZodTypeDef, { apiName: string; endpointId: string; headers?: Record | null | undefined; body?: unknown; query?: Record | null | undefined; timeoutMs?: number | undefined; accept?: string | undefined; contentType?: string | undefined; pathParams?: Record | null | undefined; cookies?: Record | null | undefined; files?: Record | undefined; maxRetries429?: number | undefined; dryRun?: boolean | undefined; } & { fields?: string[]; }>; declare const makeEndpointRequestOutputSchema: z.ZodObject<{ request: z.ZodObject<{ url: z.ZodString; method: z.ZodString; headersRedacted: z.ZodRecord; endpointId: z.ZodString; }, "strip", z.ZodTypeAny, { method: string; endpointId: string; url: string; headersRedacted: Record; }, { method: string; endpointId: string; url: string; headersRedacted: Record; }>; requestBodyPreview: z.ZodOptional; }, "strip", z.ZodTypeAny, { bodyType: "empty"; }, { bodyType: "empty"; }>, z.ZodObject<{ bodyType: z.ZodLiteral<"json">; bodyJson: z.ZodUnknown; }, "strip", z.ZodTypeAny, { bodyType: "json"; bodyJson?: unknown; }, { bodyType: "json"; bodyJson?: unknown; }>, z.ZodObject<{ bodyType: z.ZodLiteral<"text">; bodyText: z.ZodString; }, "strip", z.ZodTypeAny, { bodyText: string; bodyType: "text"; }, { bodyText: string; bodyType: "text"; }>, z.ZodObject<{ bodyType: z.ZodLiteral<"binary">; bodyBase64: z.ZodOptional; }, "strip", z.ZodTypeAny, { bodyType: "binary"; bodyBase64?: string | undefined; }, { bodyType: "binary"; bodyBase64?: string | undefined; }>, z.ZodObject<{ bodyType: z.ZodLiteral<"form-data">; fields: z.ZodArray; valueText: z.ZodOptional; valueJson: z.ZodOptional; fileName: z.ZodOptional; contentType: z.ZodOptional; sizeBytes: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; valueType: "text" | "json" | "file"; contentType?: string | undefined; valueText?: string | undefined; valueJson?: unknown; fileName?: string | undefined; sizeBytes?: number | undefined; }, { name: string; valueType: "text" | "json" | "file"; contentType?: string | undefined; valueText?: string | undefined; valueJson?: unknown; fileName?: string | undefined; sizeBytes?: number | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { fields: { name: string; valueType: "text" | "json" | "file"; contentType?: string | undefined; valueText?: string | undefined; valueJson?: unknown; fileName?: string | undefined; sizeBytes?: number | undefined; }[]; bodyType: "form-data"; }, { fields: { name: string; valueType: "text" | "json" | "file"; contentType?: string | undefined; valueText?: string | undefined; valueJson?: unknown; fileName?: string | undefined; sizeBytes?: number | undefined; }[]; bodyType: "form-data"; }>]>>; response: z.ZodOptional; bodyType: z.ZodEnum<["json", "text", "binary", "empty"]>; bodyJson: z.ZodOptional; bodyText: z.ZodOptional; bodyBase64: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: number; headers: Record; bodyType: "binary" | "text" | "json" | "empty"; bodyText?: string | undefined; bodyBase64?: string | undefined; bodyJson?: unknown; }, { status: number; headers: Record; bodyType: "binary" | "text" | "json" | "empty"; bodyText?: string | undefined; bodyBase64?: string | undefined; bodyJson?: unknown; }>>; timingMs: z.ZodNumber; authUsed: z.ZodArray; dryRun: z.ZodOptional>; }, "strip", z.ZodTypeAny, { request: { method: string; endpointId: string; url: string; headersRedacted: Record; }; authUsed: string[]; timingMs: number; response?: { status: number; headers: Record; bodyType: "binary" | "text" | "json" | "empty"; bodyText?: string | undefined; bodyBase64?: string | undefined; bodyJson?: unknown; } | undefined; requestBodyPreview?: { bodyType: "empty"; } | { bodyType: "json"; bodyJson?: unknown; } | { bodyText: string; bodyType: "text"; } | { bodyType: "binary"; bodyBase64?: string | undefined; } | { fields: { name: string; valueType: "text" | "json" | "file"; contentType?: string | undefined; valueText?: string | undefined; valueJson?: unknown; fileName?: string | undefined; sizeBytes?: number | undefined; }[]; bodyType: "form-data"; } | undefined; dryRun?: true | undefined; }, { request: { method: string; endpointId: string; url: string; headersRedacted: Record; }; authUsed: string[]; timingMs: number; response?: { status: number; headers: Record; bodyType: "binary" | "text" | "json" | "empty"; bodyText?: string | undefined; bodyBase64?: string | undefined; bodyJson?: unknown; } | undefined; requestBodyPreview?: { bodyType: "empty"; } | { bodyType: "json"; bodyJson?: unknown; } | { bodyText: string; bodyType: "text"; } | { bodyType: "binary"; bodyBase64?: string | undefined; } | { fields: { name: string; valueType: "text" | "json" | "file"; contentType?: string | undefined; valueText?: string | undefined; valueJson?: unknown; fileName?: string | undefined; sizeBytes?: number | undefined; }[]; bodyType: "form-data"; } | undefined; dryRun?: true | undefined; }>; type MakeEndpointRequestInput = z.infer; type MakeEndpointRequestOutput = z.infer; export declare const makeEndpointRequestToolDefinition: ToolDefinition; export declare function makeEndpointRequestTool(context: ToolContext, args: unknown): Promise; export {};