export declare class CircularLinkedList { private tail; private size; /** * Rotates the first element to the back of the list * @returns {void} */ rotate(): void; /** * Adds new node to the head of the list * @param {T} element value to be added */ addFirst(element: T): void; /** * Adds new node to the tail of the list * @param {T} element value to be added */ addLast(element: T): void; /** * Removes node from the head of the list * @returns {T} value of first node */ removeFirst(): T; /** * Returns value of the head * @returns {T} value of first node */ first(): T; /** * Returns value of the tail * @returns {T} value of last node */ last(): T; /** * Returns size of the list * @returns {number} size of list */ getSize(): number; /** * Returns true if the list is empty, fasle otherwise * @returns {boolean} true if the list is empty */ isEmpty(): boolean; }