import { Micro } from 'effect';
declare const FetchError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => Micro.YieldableError & {
    readonly _tag: "FetchError";
} & Readonly<A>;
export declare class FetchError extends FetchError_base<{
    cause: unknown;
}> {
}
declare const NotFoundError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => Micro.YieldableError & {
    readonly _tag: "NotFoundError";
} & Readonly<A>;
export declare class NotFoundError extends NotFoundError_base<{
    url: string;
}> {
}
export declare const httpClient: (input: RequestInfo | URL | string, init?: RequestInit) => Micro.Micro<Response, FetchError | NotFoundError, never>;
declare const ResponseTextError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => Micro.YieldableError & {
    readonly _tag: "ResponseTextError";
} & Readonly<A>;
export declare class ResponseTextError extends ResponseTextError_base<{
    message: string;
    cause: Error;
}> {
}
export declare const responseAsText: (res: Response) => Micro.Micro<string, ResponseTextError, never>;
export {};
//# sourceMappingURL=http.d.ts.map