type TrackingOptions = {
    onConnect?: () => void;
    onDisconnect?: () => void;
};
type Dispose = () => void;
export declare function startTracking(elem: HTMLElement, options: TrackingOptions): Dispose;
export {};
