export = DoublyLinkedList;
declare function DoublyLinkedList(): void;
declare class DoublyLinkedList {
    _length: number;
    _head: any;
    _tail: any;
    /**
     * Returns the length of the list.
     *
     * @returns {number}
     */
    getLength(): number;
    /**
     * Returns the first element in the list.
     *
     * @returns {Object}
     */
    getHead(): Object;
    /**
     * Returns the last element in the list.
     *
     * @returns {Object}
     */
    getTail(): Object;
    /**
     * Inserts a value at the end of the list.
     *
     * @param value
     *
     * @returns {Object} the node that was inserted into the list.
     */
    insertEnd(value: any): Object;
    /**
     * Removes a given node from the list.
     *
     * @param node
     */
    remove(node: any): void;
}
