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 BadRequestResponseImsxCodeMinorField = {
    imsxCodeMinorFieldName?: "TargetEndSystem" | undefined;
    imsxCodeMinorFieldValue?: "invaliddata" | undefined;
};
export type BadRequestResponseImsxCodeMinor = {
    imsxCodeMinorField: Array<BadRequestResponseImsxCodeMinorField>;
};
export type BadRequestResponseErrorData = {
    imsxCodeMajor: "failure";
    imsxSeverity: "error";
    imsxDescription: string;
    imsxCodeMinor: BadRequestResponseImsxCodeMinor;
    imsxErrorDetails?: Array<{
        [k: string]: string;
    }> | undefined;
};
export declare class BadRequestResponseError extends PowerPathError {
    imsxCodeMajor: "failure";
    imsxSeverity: "error";
    imsxDescription: string;
    imsxCodeMinor: BadRequestResponseImsxCodeMinor;
    imsxErrorDetails?: Array<{
        [k: string]: string;
    }> | undefined;
    /** The original data that was passed to this error instance. */
    data$: BadRequestResponseErrorData;
    constructor(err: BadRequestResponseErrorData, httpMeta: {
        response: Response;
        request: Request;
        body: string;
    });
}
/** @internal */
export declare const BadRequestResponseImsxCodeMinorField$inboundSchema: z.ZodType<BadRequestResponseImsxCodeMinorField, z.ZodTypeDef, unknown>;
/** @internal */
export type BadRequestResponseImsxCodeMinorField$Outbound = {
    imsx_codeMinorFieldName: "TargetEndSystem";
    imsx_codeMinorFieldValue: "invaliddata";
};
/** @internal */
export declare const BadRequestResponseImsxCodeMinorField$outboundSchema: z.ZodType<BadRequestResponseImsxCodeMinorField$Outbound, z.ZodTypeDef, BadRequestResponseImsxCodeMinorField>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace BadRequestResponseImsxCodeMinorField$ {
    /** @deprecated use `BadRequestResponseImsxCodeMinorField$inboundSchema` instead. */
    const inboundSchema: z.ZodType<BadRequestResponseImsxCodeMinorField, z.ZodTypeDef, unknown>;
    /** @deprecated use `BadRequestResponseImsxCodeMinorField$outboundSchema` instead. */
    const outboundSchema: z.ZodType<BadRequestResponseImsxCodeMinorField$Outbound, z.ZodTypeDef, BadRequestResponseImsxCodeMinorField>;
    /** @deprecated use `BadRequestResponseImsxCodeMinorField$Outbound` instead. */
    type Outbound = BadRequestResponseImsxCodeMinorField$Outbound;
}
export declare function badRequestResponseImsxCodeMinorFieldToJSON(badRequestResponseImsxCodeMinorField: BadRequestResponseImsxCodeMinorField): string;
export declare function badRequestResponseImsxCodeMinorFieldFromJSON(jsonString: string): SafeParseResult<BadRequestResponseImsxCodeMinorField, SDKValidationError>;
/** @internal */
export declare const BadRequestResponseImsxCodeMinor$inboundSchema: z.ZodType<BadRequestResponseImsxCodeMinor, z.ZodTypeDef, unknown>;
/** @internal */
export type BadRequestResponseImsxCodeMinor$Outbound = {
    imsx_codeMinorField: Array<BadRequestResponseImsxCodeMinorField$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 BadRequestResponseError$inboundSchema: z.ZodType<BadRequestResponseError, z.ZodTypeDef, unknown>;
/** @internal */
export type BadRequestResponseError$Outbound = {
    imsx_codeMajor: "failure";
    imsx_severity: "error";
    imsx_description: string;
    imsx_CodeMinor: BadRequestResponseImsxCodeMinor$Outbound;
    imsx_error_details?: Array<{
        [k: string]: string;
    }> | undefined;
};
/** @internal */
export declare const BadRequestResponseError$outboundSchema: z.ZodType<BadRequestResponseError$Outbound, z.ZodTypeDef, BadRequestResponseError>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace BadRequestResponseError$ {
    /** @deprecated use `BadRequestResponseError$inboundSchema` instead. */
    const inboundSchema: z.ZodType<BadRequestResponseError, z.ZodTypeDef, unknown>;
    /** @deprecated use `BadRequestResponseError$outboundSchema` instead. */
    const outboundSchema: z.ZodType<BadRequestResponseError$Outbound, z.ZodTypeDef, BadRequestResponseError>;
    /** @deprecated use `BadRequestResponseError$Outbound` instead. */
    type Outbound = BadRequestResponseError$Outbound;
}
//# sourceMappingURL=badrequestresponseerror.d.ts.map