import * as events from "./events.generated"; import * as iam from "../../aws-iam"; import * as cdk from "../../core/lib"; /** * Collection of grant methods for a IEventBusRef */ export declare class EventBusGrants { /** * Creates grants for EventBusGrants */ static fromEventBus(resource: events.IEventBusRef): EventBusGrants; protected readonly resource: events.IEventBusRef; private constructor(); /** * Grant the given identity custom permissions */ actions(grantee: iam.IGrantable, actions: Array, options?: cdk.PermissionsOptions): iam.Grant; /** * Permits an IAM Principal to send custom events to EventBridge * so that they can be matched to rules. */ allPutEvents(grantee: iam.IGrantable): iam.Grant; }