import * as Effect from 'effect/Effect'; import { type ResponseW } from './ResponseW.js'; export declare const ERROR_TAG: "HttpApiError"; declare const HttpApiError_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "HttpApiError"; } & Readonly; export declare class HttpApiError extends HttpApiError_base<{ readonly statusCode: number; readonly message: string; readonly internal?: Array; }> { } export declare function isHttpApiError(x: unknown): x is HttpApiError; export declare function toHttpApiError(x: unknown, statusCode?: number, message?: string): HttpApiError; export declare function toErrorResponseW(error: HttpApiError): Effect.Effect; export {}; //# sourceMappingURL=HttpApiError.d.ts.map