import type { ISocketData } from './types'; import type { Socket } from 'bun'; export default class Commands { private exitHandler; private answers; private closeAfter; private socket; private commands; constructor(exitHandler: (value?: string) => void, answers?: string[], closeAfter?: boolean); setSocket(socket: Socket): void; handle(command: string, context: Record): Promise; private handleAuthenticate; private handleError; private handleCommands; private handleInteract; private handleMenu; private handleLog; private handleExit; private write; } //# sourceMappingURL=commands.d.ts.map