import { HttpClient } from "@effect-app/prelude/Request"; import { Schema } from "@effect-app/prelude/schema"; import type { ClientResponse } from "@effect/platform/Http/ClientResponse"; import type { Headers } from "@effect/platform/Http/Headers"; export { Client as HttpClient } from "@effect/platform/Http/Client"; export { Cache as EffectCache } from "effect/Cache"; export { Request as EffectRequest } from "effect/Request"; export interface ResponseWithBody extends Pick { readonly body: A; } /** * @tsplus getter effect/platform/Http/ClientResponse responseWithJsonBody * @tsplus location "@effect-app/prelude/Request" */ export declare const responseWithJsonBody: (response: ClientResponse) => import("effect/Effect").Effect, import("@effect/platform/Http/ClientError").ResponseError, never>; /** * @tsplus fluent effect/platform/Http/Client schemaJsonBody * @tsplus location "@effect-app/prelude/Request" */ export declare const schemaJsonBody: (client: HttpClient, schema: Schema) => import("@effect/platform/Http/Client").Client; /** * @tsplus fluent effect/platform/Http/Client schemaJsonBodyUnsafe * @tsplus location "@effect-app/prelude/Request" */ export declare const schemaJsonBodyUnsafe: (client: HttpClient, schema: Schema) => import("@effect/platform/Http/Client").Client; /** * @tsplus fluent effect/platform/Http/Client schemaJson * @tsplus location "@effect-app/prelude/Request" */ export declare const schemaJson: (client: HttpClient, schema: Schema) => import("@effect/platform/Http/Client").Client; /** * @tsplus fluent effect/platform/Http/Client schemaJsonUnsafe * @tsplus location "@effect-app/prelude/Request" */ export declare const schemaJsonUnsafe: (client: HttpClient, schema: Schema) => import("@effect/platform/Http/Client").Client; /** * @tsplus getter effect/platform/Http/Client demandJson * @tsplus location "@effect-app/prelude/Request" */ export declare const demandJson: (client: HttpClient) => import("@effect/platform/Http/Client").Client; //# sourceMappingURL=Request.d.ts.map