import * as z from "zod/v3";
import { UnstructuredClientError } from "./unstructuredclienterror.js";
export type ServerErrorData = {
    detail?: string | undefined;
};
export declare class ServerError extends UnstructuredClientError {
    detail?: string | undefined;
    /** The original data that was passed to this error instance. */
    data$: ServerErrorData;
    constructor(err: ServerErrorData, httpMeta: {
        response: Response;
        request: Request;
        body: string;
    });
}
/** @internal */
export declare const ServerError$inboundSchema: z.ZodType<ServerError, z.ZodTypeDef, unknown>;
/** @internal */
export type ServerError$Outbound = {
    detail?: string | undefined;
};
/** @internal */
export declare const ServerError$outboundSchema: z.ZodType<ServerError$Outbound, z.ZodTypeDef, ServerError>;
//# sourceMappingURL=servererror.d.ts.map