/** * fast O(n) non-mutating convert an array to a `Map` with keys * defined by a property, dot-prop path, or extractor function * * An alternate usage exists when given an array of string or number: * in that case the return Map maps the value to `true`. May be better * to use a Set for these cases. */ export declare function mapkeyby(objArray: ObjectType[] | undefined): Map; export declare function mapkeyby(objArray: ObjectType[] | undefined, key: Key): Map; export declare function mapkeyby(objArray: ObjectType[] | undefined, key: string | number | symbol): Map; export declare function mapkeyby(objArray: ObjectType[] | undefined, extractor: (obj: ObjectType) => KeyType): Map;