import { type Result } from "../../types/error"; type QueueCommandResult = Result | void; export declare class CommandQueue { private readonly queue; private running; private resolvePromise; private commandPromise; add(command: (...args: A) => Promise | QueueCommandResult, shouldCheckSetup?: boolean, ...args: A): void; wait(): Promise; private run; } export {}; //# sourceMappingURL=command-queue.d.ts.map