import { IDoublyLinkedList } from "./doubly-linked-list.interface";
import { BaseNodeLinkedList } from "../base-node-linked-list";
import { SinglyLinkedList } from "../singly-linked-list/singly-linked-list";
import { IComparator } from "../comparator.interface";
export declare class DoublyLinkedList<T> extends SinglyLinkedList<T> implements IDoublyLinkedList<T> {
    protected comparator: IComparator<T>;
    constructor(comparator?: IComparator<T>);
    insertInBegin(data: T): BaseNodeLinkedList<T>;
    deleteNode(data: T): BaseNodeLinkedList<T> | null;
    deleteLastNode(): BaseNodeLinkedList<T> | null;
}
