export declare function isObject(value: any): boolean; export declare function isPromise(value: any): any; export declare function isPlainObject(value: any): boolean; /** * 对数组从小到大排序 */ export declare function sortBy(arr: T[], func?: (item: T) => number): T[]; export declare function includes(array: T[], item: T): boolean; export declare function remove(array: T[], item: T): void; export declare function batchRemove(array: T[], items: T[]): void; export declare function batchRemoveFromSet(set: Set, items: T[]): void; export declare function isPrimitive(value: any): boolean; export declare function convert2UniqueString(key: string | symbol | number): string; export declare const deduplicate: (array: T[]) => T[]; /** * nextTick would flush promise micro task */ export declare function nextTick(fn?: () => void): Promise; export declare const hasOwn: (val: object, key: string | symbol | number) => key is never; export declare function is(x: any, y: any): boolean; export declare function bind(fn: any, ctx: any): (a?: any) => any; export declare function shallowEqual(objA: any, objB: any, ignoreKeys?: string[]): boolean; export declare const dummy: () => void; export declare function loadJSON(url: string): Promise; export declare function updateQueryStringParameter(url: string, key: string, value: string): string; export declare function getContextEnv(): "browser" | "vm"; export declare function getContextParam(key: string): any;