import { Grant } from './grant';
import type { IRoleRef } from './iam.generated';
import type { IPrincipal } from './principals';
/**
 * Collection of grant methods for a IRoleRef
 */
export declare class RoleGrants {
    private readonly role;
    /**
     * Creates grants for IRoleRef
     */
    static fromRole(role: IRoleRef): RoleGrants;
    private constructor();
    /**
     * Grant permissions to the given principal to assume this role.
     */
    assumeRole(identity: IPrincipal): Grant;
    /**
     * Grant permissions to the given principal to pass this role.
     */
    passRole(identity: IPrincipal): Grant;
}
