import { AbstractFoldable } from "./foldable";
import { Monoid } from "./monoid";
export declare type List = ListImpl;
export declare class ListImpl extends AbstractFoldable {
arr: A[];
constructor(arr: A[]);
foldMapId>(m: M, f: (a: A) => M): M;
}
export declare function fromArray(arr: A[]): List;