import * as elasticsearch from "./elasticsearch.generated";
import * as iam from "../../aws-iam";
import * as cdk from "../../core/lib";
/**
 * Collection of grant methods for a IDomainRef
 */
export declare class DomainGrants {
    /**
     * Creates grants for DomainGrants
     */
    static fromDomain(resource: elasticsearch.IDomainRef): DomainGrants;
    protected readonly resource: elasticsearch.IDomainRef;
    private constructor();
    /**
     * Grant the given identity custom permissions
     */
    actions(grantee: iam.IGrantable, actions: Array<string>, options?: cdk.PermissionsOptions): iam.Grant;
    /**
     * Grant read permissions for this domain and its contents to an IAM
     * principal (Role/Group/User).
     */
    read(grantee: iam.IGrantable): iam.Grant;
    /**
     * Grant write permissions for this domain and its contents to an IAM
     * principal (Role/Group/User).
     */
    write(grantee: iam.IGrantable): iam.Grant;
    /**
     * Grant read/write permissions for this domain and its contents to an IAM
     * principal (Role/Group/User).
     */
    readWrite(grantee: iam.IGrantable): iam.Grant;
}
