import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { PowerPathError } from "./powerpatherror.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
export type UnprocessableEntityResponseImsxCodeMinorField = {
    imsxCodeMinorFieldName?: "TargetEndSystem" | undefined;
    imsxCodeMinorFieldValue?: "invaliddata" | undefined;
};
export type UnprocessableEntityResponseImsxCodeMinor = {
    imsxCodeMinorField: Array<UnprocessableEntityResponseImsxCodeMinorField>;
};
export type UnprocessableEntityResponseErrorData = {
    imsxCodeMajor: "failure";
    imsxSeverity: "error";
    imsxDescription: string;
    imsxCodeMinor: UnprocessableEntityResponseImsxCodeMinor;
    imsxErrorDetails?: Array<{
        [k: string]: string;
    }> | undefined;
};
export declare class UnprocessableEntityResponseError extends PowerPathError {
    imsxCodeMajor: "failure";
    imsxSeverity: "error";
    imsxDescription: string;
    imsxCodeMinor: UnprocessableEntityResponseImsxCodeMinor;
    imsxErrorDetails?: Array<{
        [k: string]: string;
    }> | undefined;
    /** The original data that was passed to this error instance. */
    data$: UnprocessableEntityResponseErrorData;
    constructor(err: UnprocessableEntityResponseErrorData, httpMeta: {
        response: Response;
        request: Request;
        body: string;
    });
}
/** @internal */
export declare const UnprocessableEntityResponseImsxCodeMinorField$inboundSchema: z.ZodType<UnprocessableEntityResponseImsxCodeMinorField, z.ZodTypeDef, unknown>;
/** @internal */
export type UnprocessableEntityResponseImsxCodeMinorField$Outbound = {
    imsx_codeMinorFieldName: "TargetEndSystem";
    imsx_codeMinorFieldValue: "invaliddata";
};
/** @internal */
export declare const UnprocessableEntityResponseImsxCodeMinorField$outboundSchema: z.ZodType<UnprocessableEntityResponseImsxCodeMinorField$Outbound, z.ZodTypeDef, UnprocessableEntityResponseImsxCodeMinorField>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UnprocessableEntityResponseImsxCodeMinorField$ {
    /** @deprecated use `UnprocessableEntityResponseImsxCodeMinorField$inboundSchema` instead. */
    const inboundSchema: z.ZodType<UnprocessableEntityResponseImsxCodeMinorField, z.ZodTypeDef, unknown>;
    /** @deprecated use `UnprocessableEntityResponseImsxCodeMinorField$outboundSchema` instead. */
    const outboundSchema: z.ZodType<UnprocessableEntityResponseImsxCodeMinorField$Outbound, z.ZodTypeDef, UnprocessableEntityResponseImsxCodeMinorField>;
    /** @deprecated use `UnprocessableEntityResponseImsxCodeMinorField$Outbound` instead. */
    type Outbound = UnprocessableEntityResponseImsxCodeMinorField$Outbound;
}
export declare function unprocessableEntityResponseImsxCodeMinorFieldToJSON(unprocessableEntityResponseImsxCodeMinorField: UnprocessableEntityResponseImsxCodeMinorField): string;
export declare function unprocessableEntityResponseImsxCodeMinorFieldFromJSON(jsonString: string): SafeParseResult<UnprocessableEntityResponseImsxCodeMinorField, SDKValidationError>;
/** @internal */
export declare const UnprocessableEntityResponseImsxCodeMinor$inboundSchema: z.ZodType<UnprocessableEntityResponseImsxCodeMinor, z.ZodTypeDef, unknown>;
/** @internal */
export type UnprocessableEntityResponseImsxCodeMinor$Outbound = {
    imsx_codeMinorField: Array<UnprocessableEntityResponseImsxCodeMinorField$Outbound>;
};
/** @internal */
export declare const UnprocessableEntityResponseImsxCodeMinor$outboundSchema: z.ZodType<UnprocessableEntityResponseImsxCodeMinor$Outbound, z.ZodTypeDef, UnprocessableEntityResponseImsxCodeMinor>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UnprocessableEntityResponseImsxCodeMinor$ {
    /** @deprecated use `UnprocessableEntityResponseImsxCodeMinor$inboundSchema` instead. */
    const inboundSchema: z.ZodType<UnprocessableEntityResponseImsxCodeMinor, z.ZodTypeDef, unknown>;
    /** @deprecated use `UnprocessableEntityResponseImsxCodeMinor$outboundSchema` instead. */
    const outboundSchema: z.ZodType<UnprocessableEntityResponseImsxCodeMinor$Outbound, z.ZodTypeDef, UnprocessableEntityResponseImsxCodeMinor>;
    /** @deprecated use `UnprocessableEntityResponseImsxCodeMinor$Outbound` instead. */
    type Outbound = UnprocessableEntityResponseImsxCodeMinor$Outbound;
}
export declare function unprocessableEntityResponseImsxCodeMinorToJSON(unprocessableEntityResponseImsxCodeMinor: UnprocessableEntityResponseImsxCodeMinor): string;
export declare function unprocessableEntityResponseImsxCodeMinorFromJSON(jsonString: string): SafeParseResult<UnprocessableEntityResponseImsxCodeMinor, SDKValidationError>;
/** @internal */
export declare const UnprocessableEntityResponseError$inboundSchema: z.ZodType<UnprocessableEntityResponseError, z.ZodTypeDef, unknown>;
/** @internal */
export type UnprocessableEntityResponseError$Outbound = {
    imsx_codeMajor: "failure";
    imsx_severity: "error";
    imsx_description: string;
    imsx_CodeMinor: UnprocessableEntityResponseImsxCodeMinor$Outbound;
    imsx_error_details?: Array<{
        [k: string]: string;
    }> | undefined;
};
/** @internal */
export declare const UnprocessableEntityResponseError$outboundSchema: z.ZodType<UnprocessableEntityResponseError$Outbound, z.ZodTypeDef, UnprocessableEntityResponseError>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UnprocessableEntityResponseError$ {
    /** @deprecated use `UnprocessableEntityResponseError$inboundSchema` instead. */
    const inboundSchema: z.ZodType<UnprocessableEntityResponseError, z.ZodTypeDef, unknown>;
    /** @deprecated use `UnprocessableEntityResponseError$outboundSchema` instead. */
    const outboundSchema: z.ZodType<UnprocessableEntityResponseError$Outbound, z.ZodTypeDef, UnprocessableEntityResponseError>;
    /** @deprecated use `UnprocessableEntityResponseError$Outbound` instead. */
    type Outbound = UnprocessableEntityResponseError$Outbound;
}
//# sourceMappingURL=unprocessableentityresponseerror.d.ts.map