import { E as ExtendedHTTPClient, H as HTTPOptions, a as HTTPResponse, b as HTTPMethod, B as BatchRequest } from './types-DWPkW78F.mjs'; export { c as HTTPClient } from './types-DWPkW78F.mjs'; declare class R6HTTPClient implements ExtendedHTTPClient { get(url: string, options?: HTTPOptions): Promise; post(url: string, body?: any, options?: HTTPOptions): Promise; put(url: string, body?: any, options?: HTTPOptions): Promise; patch(url: string, body?: any, options?: HTTPOptions): Promise; del(url: string, options?: HTTPOptions): Promise; head(url: string, options?: HTTPOptions): Promise; options(url: string, options?: HTTPOptions): Promise; request(method: HTTPMethod, url: string, body?: any, options?: HTTPOptions): Promise; batch(requests: BatchRequest[]): Promise; } declare const httpClient: R6HTTPClient; declare const get: any; declare const post: any; declare const put: any; declare const patch: any; declare const del: any; declare const head: any; declare const options: any; declare const request: any; declare const batch: any; declare const http_batch: typeof batch; declare const http_del: typeof del; declare const http_get: typeof get; declare const http_head: typeof head; declare const http_options: typeof options; declare const http_patch: typeof patch; declare const http_post: typeof post; declare const http_put: typeof put; declare const http_request: typeof request; declare namespace http { export { http_batch as batch, httpClient as default, http_del as del, http_get as get, http_head as head, httpClient as http, http_options as options, http_patch as patch, http_post as post, http_put as put, http_request as request }; } /** * @r6-rs/http - TypeScript definitions and runtime types for r6-rs HTTP module * * This package provides TypeScript support for r6-rs load testing tool, * offering full compatibility with k6 HTTP module while adding r6-rs specific features. * * @example Basic usage * ```typescript * import http from '@r6-rs/http'; * * async function defaultTest() { * const response = await http.get('https://api.example.com/health'); * console.log(`Status: ${response.status}`); * return response.ok; * } * ``` * * @example k6 compatibility * ```typescript * import http from '@r6-rs/http/k6'; * // Now use exactly like k6 http module * ``` */ export { BatchRequest, ExtendedHTTPClient, HTTPMethod, HTTPOptions, HTTPResponse, batch, http as default, del, get, head, httpClient as http, options, patch, post, put, request };