UNPKG

@kui-shell/core

Version:

An Electron-based shell for cloud-native development

16 lines (15 loc) 483 B
import { Entity } from './entity'; export interface XtermResponse { apiVersion: 'kui-shell/v1'; kind: 'XtermResponse'; rows: XtermResponseCell[][]; code?: number; } export interface XtermResponseCell { innerText: string; textContent: string; classList?: string[]; style?: Record<string, string>; } export declare function isXtermResponse(entity: Entity): entity is XtermResponse; export declare function isXtermErrorResponse(entity: Entity): boolean;