/** * Creates an event handler using the decorated method. * @type Event listener type. * @options Event listener options. */ export default function event(type: K, options?: boolean | AddEventListenerOptions): (target: HTMLElement, propertyKey: string | symbol) => void;