import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { IamPermission, IamPermission$Outbound } from "./iampermission.js";
export type IamPolicy = {
    createdAt?: Date | null | undefined;
    description?: string | null | undefined;
    /**
     * Unique identifier
     */
    id?: string | null | undefined;
    /**
     * The name of the policy.
     */
    name?: string | null | undefined;
    /**
     * The set of permissions associated with the policy.
     */
    permissions?: Array<IamPermission> | null | undefined;
    /**
     * Provider's unique identifier
     */
    remoteId?: string | null | undefined;
    updatedAt?: Date | null | undefined;
};
/** @internal */
export declare const IamPolicy$inboundSchema: z.ZodType<IamPolicy, z.ZodTypeDef, unknown>;
/** @internal */
export type IamPolicy$Outbound = {
    created_at?: string | null | undefined;
    description?: string | null | undefined;
    id?: string | null | undefined;
    name?: string | null | undefined;
    permissions?: Array<IamPermission$Outbound> | null | undefined;
    remote_id?: string | null | undefined;
    updated_at?: string | null | undefined;
};
/** @internal */
export declare const IamPolicy$outboundSchema: z.ZodType<IamPolicy$Outbound, z.ZodTypeDef, IamPolicy>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace IamPolicy$ {
    /** @deprecated use `IamPolicy$inboundSchema` instead. */
    const inboundSchema: z.ZodType<IamPolicy, z.ZodTypeDef, unknown>;
    /** @deprecated use `IamPolicy$outboundSchema` instead. */
    const outboundSchema: z.ZodType<IamPolicy$Outbound, z.ZodTypeDef, IamPolicy>;
    /** @deprecated use `IamPolicy$Outbound` instead. */
    type Outbound = IamPolicy$Outbound;
}
export declare function iamPolicyToJSON(iamPolicy: IamPolicy): string;
export declare function iamPolicyFromJSON(jsonString: string): SafeParseResult<IamPolicy, SDKValidationError>;
//# sourceMappingURL=iampolicy.d.ts.map