import { AbstractLinkedList } from "./abstract-linked-list"; import { BiDirectionalLinkedListEntry } from "./linked-list-entry"; import { List } from "./list"; export declare class BiDirectionalLinkedList extends AbstractLinkedList> implements List { private last?; add(item: T): boolean; prepend(item: T): boolean; append(item: T): boolean; /** * TODO: if index is nearer to the end then iterate from the end * * @param index - index of element to be removed */ removeItemAt(index: number): boolean; forEach(callback: (item: T, index: number) => boolean): void; forEachReverse(callback: (item: T, index: number) => boolean): void; clear(): void; remove(item: T): boolean; } //# sourceMappingURL=bi-directional-linked-list.d.ts.map