/** * Copyright (c) 2017 mol* contributors, licensed under MIT, See LICENSE file for more info. * * from https://github.com/dsehnal/CIFTools.js * @author David Sehnal */ import { ArrayCtor } from '../../mol-util/type-helpers.js'; export declare function arrayFind(array: ArrayLike, f: (v: T) => boolean): T | undefined; export declare function iterableToArray(it: IterableIterator): T[]; /** Fills the array so that array[0] = start and array[array.length - 1] = end */ export declare function createRangeArray(start: number, end: number, ctor?: ArrayCtor): Int32Array | { [i: number]: number; length: number; }; export declare function arrayPickIndices(array: ArrayLike, indices: ArrayLike): { [i: number]: T; length: number; }; export declare function arrayGetCtor(data: ArrayLike): ArrayCtor;