/** * Adapted from: * @author https://gist.github.com/karol-majewski * @see https://gist.github.com/karol-majewski/b234a4aceb8884ccc1acf25a2e1ed16e */ import { UnionToIntersection } from '../UnionToIntersection'; declare type Primitive = boolean | number | string | bigint | symbol | null | undefined; declare type Narrowable = Primitive | object | {}; declare type Entry = [K, V]; declare type FromEntries, K extends PropertyKey, V extends Narrowable> = UnionToIntersection; export declare function fromEntries, K extends PropertyKey, V extends Narrowable>(entries: Iterable): { [k in keyof FromEntries]: FromEntries[k]; }; export {};