import { GenericMap, Indexable } from './types'; /** * Gets a map element, lazily initializing it with a default value. */ export declare const getDefaultLazy: (key: A, init: () => B, target: GenericMap) => B; /** * Gets a map element, initializing it with a default value. */ export declare const getDefault: (key: A, defaultValue: B, target: GenericMap) => B; /** * Tests if a value is an object. * * Doesn't test for symbols because symbols are invalid as `WeakMap` keys. */ export declare const isObject: (x: any) => x is object; export declare const forEach: (iterator: Iterator, callback: (value: A) => void) => void; /** * Sets all items from an iterable as index properties on the target object. */ export declare const assignArraylike: (iterator: Iterator, target: Indexable) => number; export declare const arraylikeToIterable: (source: ArrayLike) => IterableIterator;