import type { Id } from "@codesandbox/pitcher-common"; import type { shell } from "@codesandbox/pitcher-protocol"; import type { ShellProcessType } from "@codesandbox/pitcher-protocol/dist/src/messages/shell"; import type { IShellClient } from "../../interface/clients/IShellClient"; import type { PitcherMessageHandler } from "../PitcherMessageHandler"; export declare class ShellClient implements IShellClient { private messageHandler; private shells; private openShells; private shellCreatedEmitter; onShellCreated: import("@codesandbox/pitcher-common").Event; private shellRestartedEmitter; onShellRestarted: import("@codesandbox/pitcher-common").Event<{ shellId: Id; }>; private shellTerminatedEmitter; onShellTerminated: import("@codesandbox/pitcher-common").Event<{ shellId: Id; author: string; }>; private shellNameChangeEmitter; onShellNameChange: import("@codesandbox/pitcher-common").Event<{ shellId: Id; }>; private shellExitedEmitter; onShellExited: import("@codesandbox/pitcher-common").Event<{ shellId: Id; exitCode: number; }>; private shellsUpdatedEmitter; onShellsUpdated: import("@codesandbox/pitcher-common").Event; private shellsErrorEmitter; onShellsError: import("@codesandbox/pitcher-common").Event; private shellOutEmitter; onShellOut: import("@codesandbox/pitcher-common").Event<{ shellId: Id; out: string; }>; readyPromise: Promise | undefined; constructor(messageHandler: PitcherMessageHandler); private createShellsValue; private closeShell; private deleteShell; getShells(): shell.ShellDTO[]; getShellName(id: Id): string | null; resync(): void; create(projectPath: string, size: shell.ShellSize, command?: string, type?: ShellProcessType, isSystemShell?: boolean): Promise; open(shellId: Id, size: shell.ShellSize): Promise; close(shellId: Id): Promise; restart(shellId: Id): Promise; delete(shellId: Id): Promise; send(shellId: Id, input: string, size: shell.ShellSize): Promise; resize(shellId: Id, size: shell.ShellSize): Promise; rename(shellId: Id, name: string): Promise; } //# sourceMappingURL=ShellClient.d.ts.map