import type { Option } from "../Option"; import type { NonEmptyArray } from "./model"; /** * Append an element to the front of an array, creating a new non empty array * * @category Constructors * @since 1.0.0 */ export declare const cons_: (head: A, tail: ReadonlyArray) => NonEmptyArray; /** * Append an element to the front of an array, creating a new non empty array * * @category Constructors * @since 1.0.0 */ export declare const cons: (tail: ReadonlyArray) => (head: A) => NonEmptyArray; /** * Append an element to the end of an array, creating a new non empty array * * @category Constructors * @since 1.0.0 */ export declare const snoc_: (init: ReadonlyArray, end: A) => NonEmptyArray; /** * Append an element to the end of an array, creating a new non empty array * * @category Constructors * @since 1.0.0 */ export declare const snoc: (end: A) => (init: ReadonlyArray) => NonEmptyArray; /** * Builds a `NonEmptyArray` from an array returning `none` if `as` is an empty array * * @category Constructors * @since 1.0.0 */ export declare const fromArray: (as: readonly A[]) => Option>; //# sourceMappingURL=constructors.d.ts.map