import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
export type BadRequestResponseImsxCodeMinorField1 = {
    imsxCodeMinorFieldName?: "TargetEndSystem" | undefined;
    imsxCodeMinorFieldValue?: "invaliddata" | undefined;
};
export type BadRequestResponseImsxCodeMinor = {
    imsxCodeMinorField: Array<BadRequestResponseImsxCodeMinorField1>;
};
export type BadRequestResponseError1Data = {
    imsxCodeMajor: "failure";
    imsxSeverity: "error";
    imsxDescription: string;
    imsxCodeMinor: BadRequestResponseImsxCodeMinor;
};
export declare class BadRequestResponseError1 extends Error {
    imsxCodeMajor: "failure";
    imsxSeverity: "error";
    imsxDescription: string;
    imsxCodeMinor: BadRequestResponseImsxCodeMinor;
    /** The original data that was passed to this error instance. */
    data$: BadRequestResponseError1Data;
    constructor(err: BadRequestResponseError1Data);
}
export type BadRequestResponseError2Data = {
    imsxCodeMajor: "failure";
    imsxSeverity: "error";
    imsxDescription: string;
    imsxCodeMinor: BadRequestResponseImsxCodeMinor;
};
export declare class BadRequestResponseError2 extends Error {
    imsxCodeMajor: "failure";
    imsxSeverity: "error";
    imsxDescription: string;
    imsxCodeMinor: BadRequestResponseImsxCodeMinor;
    /** The original data that was passed to this error instance. */
    data$: BadRequestResponseError2Data;
    constructor(err: BadRequestResponseError2Data);
}
/** @internal */
export declare const BadRequestResponseImsxCodeMinorField1$inboundSchema: z.ZodType<BadRequestResponseImsxCodeMinorField1, z.ZodTypeDef, unknown>;
/** @internal */
export type BadRequestResponseImsxCodeMinorField1$Outbound = {
    imsx_codeMinorFieldName: "TargetEndSystem";
    imsx_codeMinorFieldValue: "invaliddata";
};
/** @internal */
export declare const BadRequestResponseImsxCodeMinorField1$outboundSchema: z.ZodType<BadRequestResponseImsxCodeMinorField1$Outbound, z.ZodTypeDef, BadRequestResponseImsxCodeMinorField1>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace BadRequestResponseImsxCodeMinorField1$ {
    /** @deprecated use `BadRequestResponseImsxCodeMinorField1$inboundSchema` instead. */
    const inboundSchema: z.ZodType<BadRequestResponseImsxCodeMinorField1, z.ZodTypeDef, unknown>;
    /** @deprecated use `BadRequestResponseImsxCodeMinorField1$outboundSchema` instead. */
    const outboundSchema: z.ZodType<BadRequestResponseImsxCodeMinorField1$Outbound, z.ZodTypeDef, BadRequestResponseImsxCodeMinorField1>;
    /** @deprecated use `BadRequestResponseImsxCodeMinorField1$Outbound` instead. */
    type Outbound = BadRequestResponseImsxCodeMinorField1$Outbound;
}
export declare function badRequestResponseImsxCodeMinorField1ToJSON(badRequestResponseImsxCodeMinorField1: BadRequestResponseImsxCodeMinorField1): string;
export declare function badRequestResponseImsxCodeMinorField1FromJSON(jsonString: string): SafeParseResult<BadRequestResponseImsxCodeMinorField1, SDKValidationError>;
/** @internal */
export declare const BadRequestResponseImsxCodeMinor$inboundSchema: z.ZodType<BadRequestResponseImsxCodeMinor, z.ZodTypeDef, unknown>;
/** @internal */
export type BadRequestResponseImsxCodeMinor$Outbound = {
    imsx_codeMinorField: Array<BadRequestResponseImsxCodeMinorField1$Outbound>;
};
/** @internal */
export declare const BadRequestResponseImsxCodeMinor$outboundSchema: z.ZodType<BadRequestResponseImsxCodeMinor$Outbound, z.ZodTypeDef, BadRequestResponseImsxCodeMinor>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace BadRequestResponseImsxCodeMinor$ {
    /** @deprecated use `BadRequestResponseImsxCodeMinor$inboundSchema` instead. */
    const inboundSchema: z.ZodType<BadRequestResponseImsxCodeMinor, z.ZodTypeDef, unknown>;
    /** @deprecated use `BadRequestResponseImsxCodeMinor$outboundSchema` instead. */
    const outboundSchema: z.ZodType<BadRequestResponseImsxCodeMinor$Outbound, z.ZodTypeDef, BadRequestResponseImsxCodeMinor>;
    /** @deprecated use `BadRequestResponseImsxCodeMinor$Outbound` instead. */
    type Outbound = BadRequestResponseImsxCodeMinor$Outbound;
}
export declare function badRequestResponseImsxCodeMinorToJSON(badRequestResponseImsxCodeMinor: BadRequestResponseImsxCodeMinor): string;
export declare function badRequestResponseImsxCodeMinorFromJSON(jsonString: string): SafeParseResult<BadRequestResponseImsxCodeMinor, SDKValidationError>;
/** @internal */
export declare const BadRequestResponseError1$inboundSchema: z.ZodType<BadRequestResponseError1, z.ZodTypeDef, unknown>;
/** @internal */
export type BadRequestResponseError1$Outbound = {
    imsx_codeMajor: "failure";
    imsx_severity: "error";
    imsx_description: string;
    imsx_CodeMinor: BadRequestResponseImsxCodeMinor$Outbound;
};
/** @internal */
export declare const BadRequestResponseError1$outboundSchema: z.ZodType<BadRequestResponseError1$Outbound, z.ZodTypeDef, BadRequestResponseError1>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace BadRequestResponseError1$ {
    /** @deprecated use `BadRequestResponseError1$inboundSchema` instead. */
    const inboundSchema: z.ZodType<BadRequestResponseError1, z.ZodTypeDef, unknown>;
    /** @deprecated use `BadRequestResponseError1$outboundSchema` instead. */
    const outboundSchema: z.ZodType<BadRequestResponseError1$Outbound, z.ZodTypeDef, BadRequestResponseError1>;
    /** @deprecated use `BadRequestResponseError1$Outbound` instead. */
    type Outbound = BadRequestResponseError1$Outbound;
}
/** @internal */
export declare const BadRequestResponseError2$inboundSchema: z.ZodType<BadRequestResponseError2, z.ZodTypeDef, unknown>;
/** @internal */
export type BadRequestResponseError2$Outbound = {
    imsx_codeMajor: "failure";
    imsx_severity: "error";
    imsx_description: string;
    imsx_CodeMinor: BadRequestResponseImsxCodeMinor$Outbound;
};
/** @internal */
export declare const BadRequestResponseError2$outboundSchema: z.ZodType<BadRequestResponseError2$Outbound, z.ZodTypeDef, BadRequestResponseError2>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace BadRequestResponseError2$ {
    /** @deprecated use `BadRequestResponseError2$inboundSchema` instead. */
    const inboundSchema: z.ZodType<BadRequestResponseError2, z.ZodTypeDef, unknown>;
    /** @deprecated use `BadRequestResponseError2$outboundSchema` instead. */
    const outboundSchema: z.ZodType<BadRequestResponseError2$Outbound, z.ZodTypeDef, BadRequestResponseError2>;
    /** @deprecated use `BadRequestResponseError2$Outbound` instead. */
    type Outbound = BadRequestResponseError2$Outbound;
}
//# sourceMappingURL=badrequestresponseerror1.d.ts.map