import type { ApiReferenceEvent, ApiReferenceEvents } from './definitions';
import { type Ref } from 'vue';
/**
 * Vue wrapper for attaching and removing event listeners
 *
 */
export declare function onCustomEvent<E extends ApiReferenceEvent>(el: Ref<HTMLElement | null>, event: E, handler: (event: ApiReferenceEvents[E]) => void): void;
//# sourceMappingURL=listeners.d.ts.map