export declare class Queue { active: boolean; list: Array; onIteration?: (item: T) => Promise | void; constructor(props?: { onIteration?: (item: T) => Promise | void; }); push: (item: T) => void; process: () => Promise; start: () => Promise; stop: () => void; }