import type { command as commandProtocol } from "@codesandbox/pitcher-protocol"; import type { ICommandClient } from "../../interface/clients/ICommandClient"; import type { PitcherMessageHandler } from "../PitcherMessageHandler"; export declare class CommandClient implements ICommandClient { private messageHandler; private commands; private commandsUpdatedEmitter; onCommandsUpdated: import("@codesandbox/pitcher-common").Event; private commandsErrorEmitter; onCommandsError: import("@codesandbox/pitcher-common").Event; constructor(messageHandler: PitcherMessageHandler); private createCommandsValue; getCommands(): commandProtocol.ICommand[]; resync(): void; executeCommand(commandId: string): Promise; } //# sourceMappingURL=CommandClient.d.ts.map