/** * A runner that will keep retrying an action until it succeeds, while also queueing up future actions. * Will run until all pending actions are complete. */ export declare class ActionQueue { private queueItems; /** * Run an action in the queue. * @param action return true or Promise to mark the action as finished */ run(action: () => boolean | Promise, maxTries?: number): Promise; private isRunning; private _runActions; destroy(): void; }