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