export default dictFromTuples; /** * Create a dictionary from a list of [key, value] pairs. * * TODO(Trevor): Replace with Object.fromEntries? * * @template {ReadonlyArray} T * @param {T} tuples: A list of [key, value] pairs * @return {{ [Item in T[number] as Item[0]]: Item[1] }} A dictionary */ declare function dictFromTuples>(tuples: T): { [Item in T[number] as Item[0]]: Item[1]; };