import { Constructor } from '@dolittle/types'; import { Generation } from '@dolittle/sdk.artifacts'; import { EventTypeIdLike } from '@dolittle/sdk.events'; import { OnMethodSignature } from './OnMethodSignature'; /** * Represents methods decorated with the on decorator. */ export declare class OnDecoratedMethod { readonly owner: Constructor; readonly eventTypeOrId: Constructor | EventTypeIdLike; readonly generation: Generation | undefined; readonly method: OnMethodSignature; readonly name: string; /** * Initializes a new instance of {@link OnDecoratedMethod}. * @param {Constructor} owner - Owner of the method. * @param {Constructor | EventTypeIdLike} eventTypeOrId - Type or event type id of event it handles. * @param {Generation | undefined} generation - Generation of the event or undefined. * @param {OnMethodSignature} method - The actual method that handles the event. * @param {string} name - The name of the method. */ constructor(owner: Constructor, eventTypeOrId: Constructor | EventTypeIdLike, generation: Generation | undefined, method: OnMethodSignature, name: string); } //# sourceMappingURL=OnDecoratedMethod.d.ts.map