import Api from './api'; import { Monkey } from './client'; export declare class CommandQueue extends Api { private client; private commands; private replies; private errors; private sent; private callback?; constructor(client: Monkey); private get queue(); private set queue(value); private collector; private maybeFinish; private forbidReuse; private sendInternal; sendAndParse(command: string, _cb: never, parser: (data: string | null) => T | null): this; send(command: string): this; private getCommands; private pushCommands; execute(cb: (err: Error | null, data: unknown[]) => void): void; }