import { Collection } from "../Collection"; import CycleLinkList from "../cyclelinklist/CycleLinkList"; import DoubleLinkList from "../doublelinklist/DoubleLinkList"; import { LinkNode } from "./LinkNode"; export declare class LinkList extends Collection> { private headNode; private tailNode; private size; constructor(); readonly Size: number; append(value: T): LinkNode; prepend(value: T): LinkNode; private emptyList; clear(): void; deleteNode(arg: any): boolean; findNode(arg: any): LinkNode; insertAfter(value: T, oriNode: LinkNode): boolean; getHeadNode(): LinkNode; getTailNode(): LinkNode; shift(): LinkNode; pop(): LinkNode; protected __iterate(fn: (item: LinkNode, index: number) => void): void; toString(): string; static fromArray(arr: Array): LinkList; toDoubleLinkList(): DoubleLinkList; toCycleLinkList(): CycleLinkList; } export default LinkList;