import { INavigator } from '../types'; /** * @description 获取uuid */ export declare function getUid(): string; /** * @description 获取session id */ export declare function getSessionId(): string; /** * @description 获取浏览器信息 */ export declare function getNavigator(): INavigator; /** * @description 获取viewport的宽高 */ export declare function getViewport(): string; /** * @description 获取元素路径,最多保留5层 * @param e */ export declare const getElmPath: (target: any) => string; /** * @description 序列化对象 * @param obj */ export declare function serialize(obj: { [key: string]: any; }): string; /** * @description 注册事件监听 * @param event 事件 * @param fn 回调方法 */ export declare const on: (event: string, fn: (e: Event) => void) => void; /** * @description 移除事件监听 * @param event 事件 * @param fn 回调方法 */ export declare const off: (event: any, fn: (e: Event) => void) => any; export declare const visualTrackFunc: () => void; export declare const initWindowObjectFunction: () => void; export declare const handleLocationChange: (e: Event) => void; export declare function debounce(fn: Function): (...arg: unknown[]) => void;