/** * Function signature for checking equality */ export interface EqualsFunction { (a: T, b: T): boolean; } /** * Function signature for comparing * > 0 => a is larger than b * = 0 => a equals b * < 0 => a is smaller than b */ export interface CompareFunction { (a: T, b: T): number; } /** * Default function to test equality. * @function */ export declare const defaultEquals: (a: T, b: T) => boolean; export declare const VALUE_DOES_NOT_EXIST_ERROR = "Value does not exist."; /** * Default function to compare element order. * @function */ export declare function defaultCompare(a: T, b: T): number; //# sourceMappingURL=utils.d.ts.map