export declare type Item = any; export declare type Comparator = (a: Item, b: Item) => number; export default class TinyQueue { public data : Item[]; public length : number; constructor (items? : Item[], compare? : Comparator); peek () : Item | undefined; pop () : Item | undefined; push (item: Item) : void; }