/** * `Node` is a container for the value of an item inside of a `Queue` */ export declare class Node { value: T; next: Node | null; constructor(value: T, next: Node | null); } export declare class Queue { private header; constructor(); get length(): number; push(value: T): void; unshift(value: T): void; pop(): T | undefined; shift(): T | undefined; [Symbol.iterator]: () => { next: () => { done: boolean; value: undefined; } | { done: boolean; value: T; }; }; }