export declare function UUID(jsonUUID?: string): string; export declare function methodDeprecatedWarn(deprecatedMethod: string, suggestedMethod: string): string; export declare function isDef(v: any): boolean; export declare function isUndef(v: any): boolean; export declare function inArray(arr: any, v: any): boolean; export declare function flatten(arr: any[]): any; /** * @description 限制函数触发频率 * @param fn 需要限制频率的函数 * @param interval 每调用一次最小时间间隔,单位ms * */ export declare function throttle(fn: Function, interval: number): (this: any, ...args: any[]) => boolean; /** * @description 验证字符串是否为base64 * */ export declare function isBase64Url(str: string): boolean; /** * @description 用作过滤掉对绘图不必要的回调,当回调调用频率比fps要大时起作用,比如mousemove * @param frameRender 待降频的函数 * @param eventHandler 可以用来停止冒泡 * */ export declare function frameStabilize(frameRender: Function, eventHandler: Function): Function; export declare function removeItem(arr: any, item: any): any; export declare function isSame(o1: any, o2: any): boolean;