import { IFunction } from './function-base';
/**
 * (experimental) An abstract class which represents an AWS Lambda event source.
 *
 * @experimental
 */
export interface IEventSource {
    /**
     * (experimental) Called by `lambda.addEventSource` to allow the event source to bind to this function.
     *
     * @param target That lambda function to bind to.
     * @experimental
     */
    bind(target: IFunction): void;
}
