import * as z from "zod/v3";
import { OpenEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { IamPolicy } from "./iampolicy.js";
export type IamRole4 = {};
export type IamRoleSourceValue = string | number | boolean | IamRole4 | Array<any>;
export declare enum IamRoleValue {
    Admin = "admin",
    Viewer = "viewer",
    Editor = "editor",
    Basic = "basic",
    Guest = "guest",
    Unassigned = "unassigned",
    Restricted = "restricted",
    UnmappedValue = "unmapped_value"
}
export type IamRoleValueOpen = OpenEnum<typeof IamRoleValue>;
export type IamRoleType = {
    sourceValue?: string | number | boolean | IamRole4 | Array<any> | null | undefined;
    value?: IamRoleValueOpen | null | undefined;
};
export type IamRole = {
    createdAt?: Date | null | undefined;
    description?: string | null | undefined;
    /**
     * Unique identifier
     */
    id?: string | null | undefined;
    name?: string | null | undefined;
    /**
     * The set of policies associated with the role.
     */
    policies?: Array<IamPolicy> | null | undefined;
    /**
     * Provider's unique identifier
     */
    remoteId?: string | null | undefined;
    type?: IamRoleType | null | undefined;
    updatedAt?: Date | null | undefined;
};
/** @internal */
export declare const IamRole4$inboundSchema: z.ZodType<IamRole4, z.ZodTypeDef, unknown>;
export declare function iamRole4FromJSON(jsonString: string): SafeParseResult<IamRole4, SDKValidationError>;
/** @internal */
export declare const IamRoleSourceValue$inboundSchema: z.ZodType<IamRoleSourceValue, z.ZodTypeDef, unknown>;
export declare function iamRoleSourceValueFromJSON(jsonString: string): SafeParseResult<IamRoleSourceValue, SDKValidationError>;
/** @internal */
export declare const IamRoleValue$inboundSchema: z.ZodType<IamRoleValueOpen, z.ZodTypeDef, unknown>;
/** @internal */
export declare const IamRoleType$inboundSchema: z.ZodType<IamRoleType, z.ZodTypeDef, unknown>;
export declare function iamRoleTypeFromJSON(jsonString: string): SafeParseResult<IamRoleType, SDKValidationError>;
/** @internal */
export declare const IamRole$inboundSchema: z.ZodType<IamRole, z.ZodTypeDef, unknown>;
export declare function iamRoleFromJSON(jsonString: string): SafeParseResult<IamRole, SDKValidationError>;
//# sourceMappingURL=iamrole.d.ts.map