import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { IamRole, IamRole$Outbound } from "./iamrole.js";
import { RawResponse, RawResponse$Outbound } from "./rawresponse.js";
export type IamRoleResult = {
    data: IamRole;
    raw?: Array<RawResponse> | null | undefined;
};
/** @internal */
export declare const IamRoleResult$inboundSchema: z.ZodType<IamRoleResult, z.ZodTypeDef, unknown>;
/** @internal */
export type IamRoleResult$Outbound = {
    data: IamRole$Outbound;
    raw?: Array<RawResponse$Outbound> | null | undefined;
};
/** @internal */
export declare const IamRoleResult$outboundSchema: z.ZodType<IamRoleResult$Outbound, z.ZodTypeDef, IamRoleResult>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace IamRoleResult$ {
    /** @deprecated use `IamRoleResult$inboundSchema` instead. */
    const inboundSchema: z.ZodType<IamRoleResult, z.ZodTypeDef, unknown>;
    /** @deprecated use `IamRoleResult$outboundSchema` instead. */
    const outboundSchema: z.ZodType<IamRoleResult$Outbound, z.ZodTypeDef, IamRoleResult>;
    /** @deprecated use `IamRoleResult$Outbound` instead. */
    type Outbound = IamRoleResult$Outbound;
}
export declare function iamRoleResultToJSON(iamRoleResult: IamRoleResult): string;
export declare function iamRoleResultFromJSON(jsonString: string): SafeParseResult<IamRoleResult, SDKValidationError>;
//# sourceMappingURL=iamroleresult.d.ts.map