declare const OnEvent: (params: { event: E; order?: number; }) => (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; export { OnEvent };