import * as z from "zod/v3";
import { OrqError } from "./orqerror.js";
export type HonoApiErrorData = {
    /**
     * HTTP status code
     */
    code?: string | undefined;
    /**
     * Error message
     */
    message: string;
};
export declare class HonoApiError extends OrqError {
    /**
     * HTTP status code
     */
    code?: string | undefined;
    /** The original data that was passed to this error instance. */
    data$: HonoApiErrorData;
    constructor(err: HonoApiErrorData, httpMeta: {
        response: Response;
        request: Request;
        body: string;
    });
}
/** @internal */
export declare const HonoApiError$inboundSchema: z.ZodType<HonoApiError, z.ZodTypeDef, unknown>;
/** @internal */
export type HonoApiError$Outbound = {
    code?: string | undefined;
    message: string;
};
/** @internal */
export declare const HonoApiError$outboundSchema: z.ZodType<HonoApiError$Outbound, z.ZodTypeDef, HonoApiError>;
//# sourceMappingURL=honoapierror.d.ts.map