import type { IteratorOrIterable } from './types';
/**
 * @description Creates a proxy object that allows for readonly array-like access to the elements of the input iterator. Some
 * important things to note are:
 * - `length` will always be the length of the internal cache, not the length of the final
 * iterated values.
 * - `Symbol.iterator` will always iterate over the entire input iterator, not just the cached values.
 * - Negative indices are allowed, and will seek backwards from the end of the internal cache.
 * @param arg The input iterator or iterable.
 */
export declare function arrayLike<T>(arg: IteratorOrIterable<T>): readonly T[];
export default arrayLike;
//# sourceMappingURL=arrayLike.d.ts.map