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