export type SortedMultiMap = Array<[A, B]>;
/**
* A sorted map that may contain the same key multiple times
*
* Stored as a sorted array of [key, value] pairs, using binary search to locate
* entries.
*/
export declare namespace sortedMap {
type Comparator = (a: A, b: A) => number;
function add(map: SortedMultiMap, cmp: Comparator, key: A, value: B): void;
function find(map: SortedMultiMap, cmp: Comparator, key: A): B | undefined;
function findAll(map: SortedMultiMap, cmp: Comparator, key: A): B[];
}