import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { ErrorCategory } from "./errorcategory.js";
export type Details = {};
export type ErrorObject = {
    category?: ErrorCategory | undefined;
    code?: string | undefined;
    message?: string | undefined;
    details?: Details | undefined;
    requestId?: string | undefined;
};
/** @internal */
export declare const Details$inboundSchema: z.ZodType<Details, z.ZodTypeDef, unknown>;
/** @internal */
export type Details$Outbound = {};
/** @internal */
export declare const Details$outboundSchema: z.ZodType<Details$Outbound, z.ZodTypeDef, Details>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Details$ {
    /** @deprecated use `Details$inboundSchema` instead. */
    const inboundSchema: z.ZodType<Details, z.ZodTypeDef, unknown>;
    /** @deprecated use `Details$outboundSchema` instead. */
    const outboundSchema: z.ZodType<Details$Outbound, z.ZodTypeDef, Details>;
    /** @deprecated use `Details$Outbound` instead. */
    type Outbound = Details$Outbound;
}
export declare function detailsToJSON(details: Details): string;
export declare function detailsFromJSON(jsonString: string): SafeParseResult<Details, SDKValidationError>;
/** @internal */
export declare const ErrorObject$inboundSchema: z.ZodType<ErrorObject, z.ZodTypeDef, unknown>;
/** @internal */
export type ErrorObject$Outbound = {
    category?: string | undefined;
    code?: string | undefined;
    message?: string | undefined;
    details?: Details$Outbound | undefined;
    request_id?: string | undefined;
};
/** @internal */
export declare const ErrorObject$outboundSchema: z.ZodType<ErrorObject$Outbound, z.ZodTypeDef, ErrorObject>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ErrorObject$ {
    /** @deprecated use `ErrorObject$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ErrorObject, z.ZodTypeDef, unknown>;
    /** @deprecated use `ErrorObject$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ErrorObject$Outbound, z.ZodTypeDef, ErrorObject>;
    /** @deprecated use `ErrorObject$Outbound` instead. */
    type Outbound = ErrorObject$Outbound;
}
export declare function errorObjectToJSON(errorObject: ErrorObject): string;
export declare function errorObjectFromJSON(jsonString: string): SafeParseResult<ErrorObject, SDKValidationError>;
//# sourceMappingURL=errorobject.d.ts.map