/** * HTTP request tool for making HTTP requests to external APIs. * * Supports all standard HTTP methods (GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS) * and provides comprehensive request configuration including headers, body, and timeout. * * @example * ```typescript * // With agent * const agent = new Agent({ tools: [httpRequest] }) * await agent.invoke('Make a GET request to https://api.example.com/data') * * // Direct usage * const response = await httpRequest.invoke({ * method: 'POST', * url: 'https://api.example.com/users', * headers: { 'Content-Type': 'application/json' }, * body: '{"name":"test"}', * timeout: 10 * }) * ``` */ export declare const httpRequest: import("../../index.js").InvokableTool<{ method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS"; url: string; headers?: Record | undefined; body?: string | undefined; timeout?: number | undefined; }, { status: number; statusText: string; headers: Record; body: string; }>; //# sourceMappingURL=http-request.d.ts.map