/** * Mnemonist LinkedList Typings * ============================= */ export default class LinkedList implements Iterable { // Members size: number; // Constructor constructor(); // Methods clear(): void; first(): T | undefined; last(): T | undefined; peek(): T | undefined; push(value: T): number; shift(): T | undefined; unshift(value: T): number; forEach(callback: (value: T, index: number, list: this) => void, scope?: any): void; toArray(): Array; values(): IterableIterator; entries(): IterableIterator<[number, T]>; [Symbol.iterator](): IterableIterator; toString(): string; toJSON(): Array; inspect(): any; // Statics static from(iterable: Iterable | {[key: string]: I}): LinkedList; }