export declare function hash(str: string): number; export declare function toString(value: any): any; export declare function defaultCompare(a: T, b: T, key?: keyof T): boolean; export declare function defaultEqualCompare(a: T, b: T): 0 | 1 | -1; export declare function random(begin: number, end: number): number; export declare function swap(arr: Array, i: number, j: number): void;