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