export declare class Yallist { tail?: Node; head?: Node; length: number; static create(list?: Iterable): Yallist; constructor(list?: Iterable); [Symbol.iterator](): Generator; removeNode(node: Node): Node | undefined; unshiftNode(node: Node): void; pushNode(node: Node): void; push(...args: T[]): number; unshift(...args: T[]): number; pop(): T | undefined; shift(): T | undefined; forEach(fn: (value: T, i: number, list: Yallist) => any, thisp?: any): void; forEachReverse(fn: (value: T, i: number, list: Yallist) => any, thisp?: any): void; get(n: number): T | undefined; getReverse(n: number): T | undefined; map(fn: (value: T, list: Yallist) => R, thisp?: any): Yallist; mapReverse(fn: (value: T, list: Yallist) => R, thisp?: any): Yallist; reduce(fn: (left: T, right: T, i: number) => T): T; reduce(fn: (acc: R, next: T, i: number) => R, initial: R): R; reduceReverse(fn: (left: T, right: T, i: number) => T): T; reduceReverse(fn: (acc: R, next: T, i: number) => R, initial: R): R; toArray(): any[]; toArrayReverse(): any[]; slice(from?: number, to?: number): Yallist; sliceReverse(from?: number, to?: number): Yallist; splice(start: number, deleteCount?: number, ...nodes: T[]): T[]; reverse(): this; } export declare class Node { list?: Yallist; next?: Node; prev?: Node; value: T; constructor(value: T, prev?: Node | undefined, next?: Node | undefined, list?: Yallist | undefined); } //# sourceMappingURL=index.d.ts.map