UNPKG

@ably/cli

Version:

Ably CLI for Pub/Sub, Chat and Spaces

30 lines (29 loc) 675 B
export interface TerminalState { timestamp: string; event: string; stdin: { isTTY: boolean | undefined; fd?: number; readable?: boolean; destroyed?: boolean; rawMode?: boolean; }; stdout: { isTTY: boolean | undefined; fd?: number; writable?: boolean; destroyed?: boolean; }; process: { pid: number; ppid: number; exitCode?: number | null; }; error?: string; } export declare class TerminalDiagnostics { private static logs; static log(event: string, error?: Error): void; static save(): void; static installHandlers(): void; }