import type { LinkedEvent } from '../../core/types'; /** * Links given data to event as first parameter * @param {*} data data to be linked, it will be available in function as first parameter * @param {Function} callback Function to be called when event occurs * @returns {{data: *, event: Function}} */ export declare function linkEvent(data: T, callback: (data: T, event: E) => void): LinkedEvent | null; export declare function isLinkEventObject(o: any): o is LinkedEvent;