import { RequestBody_$union, HttpMethod_$union, HttpRequest } from './Types.fs.js';
import { FSharpList } from '@fable-org/fable-library-js/List.js';
/**
 * Creates a GET request to the specified url
 */
export declare function get$(url: string): HttpRequest;
/**
 * Creates a POST request to the specified url
 */
export declare function post(url: string): HttpRequest;
/**
 * Creates a request using the given method and url
 */
export declare function request(method: HttpMethod_$union, url: string): HttpRequest;
/**
 * Appends a request with headers as key-value pairs
 */
export declare function withHeaders(headers: FSharpList<[string, string]>, req: HttpRequest): HttpRequest;
/**
 * Sets the withCredentials option on the XHR request, useful for CORS requests
 */
export declare function withCredentials(withCredentials_1: boolean, req: HttpRequest): HttpRequest;
/**
 * Appends a request with string body content
 */
export declare function withBody(body: RequestBody_$union, req: HttpRequest): HttpRequest;
export declare const send: (req: HttpRequest) => any;
export declare const sendAndReadBinary: (req: HttpRequest) => any;
//# sourceMappingURL=Http.fs.d.ts.map