import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
export type ForbiddenResponseImsxCodeMinorField1 = {
    imsxCodeMinorFieldName?: "TargetEndSystem" | undefined;
    imsxCodeMinorFieldValue?: "forbidden" | undefined;
};
export type ForbiddenResponseImsxCodeMinor = {
    imsxCodeMinorField: Array<ForbiddenResponseImsxCodeMinorField1>;
};
export type ForbiddenResponseError1Data = {
    imsxCodeMajor: "failure";
    imsxSeverity: "error";
    imsxDescription: string;
    imsxCodeMinor: ForbiddenResponseImsxCodeMinor;
};
export declare class ForbiddenResponseError1 extends Error {
    imsxCodeMajor: "failure";
    imsxSeverity: "error";
    imsxDescription: string;
    imsxCodeMinor: ForbiddenResponseImsxCodeMinor;
    /** The original data that was passed to this error instance. */
    data$: ForbiddenResponseError1Data;
    constructor(err: ForbiddenResponseError1Data);
}
export type ForbiddenResponseError2Data = {
    imsxCodeMajor: "failure";
    imsxSeverity: "error";
    imsxDescription: string;
    imsxCodeMinor: ForbiddenResponseImsxCodeMinor;
};
export declare class ForbiddenResponseError2 extends Error {
    imsxCodeMajor: "failure";
    imsxSeverity: "error";
    imsxDescription: string;
    imsxCodeMinor: ForbiddenResponseImsxCodeMinor;
    /** The original data that was passed to this error instance. */
    data$: ForbiddenResponseError2Data;
    constructor(err: ForbiddenResponseError2Data);
}
/** @internal */
export declare const ForbiddenResponseImsxCodeMinorField1$inboundSchema: z.ZodType<ForbiddenResponseImsxCodeMinorField1, z.ZodTypeDef, unknown>;
/** @internal */
export type ForbiddenResponseImsxCodeMinorField1$Outbound = {
    imsx_codeMinorFieldName: "TargetEndSystem";
    imsx_codeMinorFieldValue: "forbidden";
};
/** @internal */
export declare const ForbiddenResponseImsxCodeMinorField1$outboundSchema: z.ZodType<ForbiddenResponseImsxCodeMinorField1$Outbound, z.ZodTypeDef, ForbiddenResponseImsxCodeMinorField1>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ForbiddenResponseImsxCodeMinorField1$ {
    /** @deprecated use `ForbiddenResponseImsxCodeMinorField1$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ForbiddenResponseImsxCodeMinorField1, z.ZodTypeDef, unknown>;
    /** @deprecated use `ForbiddenResponseImsxCodeMinorField1$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ForbiddenResponseImsxCodeMinorField1$Outbound, z.ZodTypeDef, ForbiddenResponseImsxCodeMinorField1>;
    /** @deprecated use `ForbiddenResponseImsxCodeMinorField1$Outbound` instead. */
    type Outbound = ForbiddenResponseImsxCodeMinorField1$Outbound;
}
export declare function forbiddenResponseImsxCodeMinorField1ToJSON(forbiddenResponseImsxCodeMinorField1: ForbiddenResponseImsxCodeMinorField1): string;
export declare function forbiddenResponseImsxCodeMinorField1FromJSON(jsonString: string): SafeParseResult<ForbiddenResponseImsxCodeMinorField1, SDKValidationError>;
/** @internal */
export declare const ForbiddenResponseImsxCodeMinor$inboundSchema: z.ZodType<ForbiddenResponseImsxCodeMinor, z.ZodTypeDef, unknown>;
/** @internal */
export type ForbiddenResponseImsxCodeMinor$Outbound = {
    imsx_codeMinorField: Array<ForbiddenResponseImsxCodeMinorField1$Outbound>;
};
/** @internal */
export declare const ForbiddenResponseImsxCodeMinor$outboundSchema: z.ZodType<ForbiddenResponseImsxCodeMinor$Outbound, z.ZodTypeDef, ForbiddenResponseImsxCodeMinor>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ForbiddenResponseImsxCodeMinor$ {
    /** @deprecated use `ForbiddenResponseImsxCodeMinor$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ForbiddenResponseImsxCodeMinor, z.ZodTypeDef, unknown>;
    /** @deprecated use `ForbiddenResponseImsxCodeMinor$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ForbiddenResponseImsxCodeMinor$Outbound, z.ZodTypeDef, ForbiddenResponseImsxCodeMinor>;
    /** @deprecated use `ForbiddenResponseImsxCodeMinor$Outbound` instead. */
    type Outbound = ForbiddenResponseImsxCodeMinor$Outbound;
}
export declare function forbiddenResponseImsxCodeMinorToJSON(forbiddenResponseImsxCodeMinor: ForbiddenResponseImsxCodeMinor): string;
export declare function forbiddenResponseImsxCodeMinorFromJSON(jsonString: string): SafeParseResult<ForbiddenResponseImsxCodeMinor, SDKValidationError>;
/** @internal */
export declare const ForbiddenResponseError1$inboundSchema: z.ZodType<ForbiddenResponseError1, z.ZodTypeDef, unknown>;
/** @internal */
export type ForbiddenResponseError1$Outbound = {
    imsx_codeMajor: "failure";
    imsx_severity: "error";
    imsx_description: string;
    imsx_CodeMinor: ForbiddenResponseImsxCodeMinor$Outbound;
};
/** @internal */
export declare const ForbiddenResponseError1$outboundSchema: z.ZodType<ForbiddenResponseError1$Outbound, z.ZodTypeDef, ForbiddenResponseError1>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ForbiddenResponseError1$ {
    /** @deprecated use `ForbiddenResponseError1$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ForbiddenResponseError1, z.ZodTypeDef, unknown>;
    /** @deprecated use `ForbiddenResponseError1$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ForbiddenResponseError1$Outbound, z.ZodTypeDef, ForbiddenResponseError1>;
    /** @deprecated use `ForbiddenResponseError1$Outbound` instead. */
    type Outbound = ForbiddenResponseError1$Outbound;
}
/** @internal */
export declare const ForbiddenResponseError2$inboundSchema: z.ZodType<ForbiddenResponseError2, z.ZodTypeDef, unknown>;
/** @internal */
export type ForbiddenResponseError2$Outbound = {
    imsx_codeMajor: "failure";
    imsx_severity: "error";
    imsx_description: string;
    imsx_CodeMinor: ForbiddenResponseImsxCodeMinor$Outbound;
};
/** @internal */
export declare const ForbiddenResponseError2$outboundSchema: z.ZodType<ForbiddenResponseError2$Outbound, z.ZodTypeDef, ForbiddenResponseError2>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ForbiddenResponseError2$ {
    /** @deprecated use `ForbiddenResponseError2$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ForbiddenResponseError2, z.ZodTypeDef, unknown>;
    /** @deprecated use `ForbiddenResponseError2$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ForbiddenResponseError2$Outbound, z.ZodTypeDef, ForbiddenResponseError2>;
    /** @deprecated use `ForbiddenResponseError2$Outbound` instead. */
    type Outbound = ForbiddenResponseError2$Outbound;
}
//# sourceMappingURL=forbiddenresponseerror1.d.ts.map