/**
 * Sends an HTTP request.
 */
export declare const http: <TBody, TResponse>(url: string, { method, body, headers, }: {
    method: "GET" | "POST";
    body?: TBody | undefined;
    headers?: Record<string, string> | undefined;
}) => Promise<TResponse>;
export declare function httpStreamText<TBody>(verb: "POST", url: string, body: TBody): AsyncIterableIterator<string>;
//# sourceMappingURL=http.d.ts.map