/** * empty :: () -> Array a * * A function that returns a type-safe empty Array * * @category Constructors * @since 1.0.0 */ export declare const empty: () => readonly A[]; /** * fromArray :: MutableArray a -> Array a * * Constructs a new readonly array from a standard array. * * @category Constructors * @since 1.0.0 */ export declare function fromArray(as: Array): ReadonlyArray; /** * Return a list of length `n` with element `i` initialized with `f(i)` * * @category Constructors * @since 1.0.0 */ export declare const makeBy: (n: number, f: (i: number) => A) => readonly A[]; /** * Create an array containing a range of integers, including both endpoints * * @category Constructors * @since 1.0.0 */ export declare const range: (start: number, end: number) => ReadonlyArray; /** * Create an array containing a value repeated the specified number of times * * @category Constructors * @since 1.0.0 */ export declare const replicate: (n: number, a: A) => readonly A[]; //# sourceMappingURL=constructors.d.ts.map