export declare class Cons {
value: A;
next: Cons | undefined;
constructor(value: A, next: Cons | undefined);
toArray(): A[];
nth(index: number): A | undefined;
}
export declare function copyFirst(n: number, list: Cons): Cons;
export declare function concat(a: Cons, b: Cons): Cons;