export declare function assert(condition: boolean, message?: string): asserts condition; export declare function assertDefined(object?: unknown, message?: string): asserts object is NonNullable; export declare function closestMatch(input: string, options: { [key: string]: V; }): V | null; export declare function countByKey(list: Array): Map; export declare function sumByKey(dict1: Map, dict2: Map): Map; export declare function combineByKey(dict1: Map, dict2: Map): Map; export declare function intersect(set1: Set, set2: Set): Set; export declare function mapValues(mapper: (a: V1) => V2, map: Map): Map; export declare function serializeMap(map: Map): Array<[K, V]>; export declare function serializeMapC(map: Map, internalMapper: (a: V) => R): Array<[K, R]>; export declare function deserializeMapC(map: Array<[K, V]>, internalMapper: (a: V) => R): Map; export declare function deserializeMap(map: Array<[K, V]>): Map; //# sourceMappingURL=utils.d.ts.map