import { Cause } from "@effect/io/Cause"; import { Effect } from "@effect/io/Effect"; import { CauseException } from "../../errors.js"; import { RequestContext } from "../../lib/RequestContext.js"; export declare class RequestException extends CauseException { constructor(cause: Cause); } export declare const reportRequestError_: (cause: import("@effect/io/Cause").Cause, context?: Record | undefined) => import("@effect/io/Effect").Effect; export declare const reportRequestError: (cause: Cause, context?: Record | undefined) => import("@effect/io/Effect").Effect; export declare const logRequestError_: (cause: import("@effect/io/Cause").Cause, context?: Record | undefined) => import("@effect/io/Effect").Effect; export declare const logRequestError: (cause: Cause, context?: Record | undefined) => import("@effect/io/Effect").Effect; /** * Forks the effect into a new fiber attached to the global scope. Because the * new fiber is attached to the global scope, when the fiber executing the * returned effect terminates, the forked fiber will continue running. * * Reports errors. * @tsplus getter effect/io/Effect forkDaemonReportRequest * @tsplus location "@effect-ts-app/boilerplate-infra/lib/api/reportError" */ export declare function forkDaemonReportRequest(self: Effect): import("@effect/io/Effect").Effect>; /** * Forks the effect into a new fiber attached to the global scope. Because the * new fiber is attached to the global scope, when the fiber executing the * returned effect terminates, the forked fiber will continue running. * * Reports errors. * @tsplus getter effect/io/Effect forkDaemonReportRequestUnexpected * @tsplus location "@effect-ts-app/boilerplate-infra/lib/api/reportError" */ export declare function forkDaemonReportRequestUnexpected(self: Effect): import("@effect/io/Effect").Effect>; //# sourceMappingURL=reportError.d.ts.map