UNPKG

kui-shell

Version:

This is the monorepo for Kui, the hybrid command-line/GUI electron-based Kubernetes tool

19 lines (18 loc) 815 B
import { Tab } from '../webapp/cli'; import { Entity, MetadataBearing } from './entity'; import { CustomSpec } from '../webapp/views/sidecar'; import { Table, MultiTable } from '../webapp/models/table'; declare type NonCustomTypes = string | HTMLElement | Table | MultiTable; declare type AllSupportedTypes = CustomSpec | NonCustomTypes; export interface MultiModalResponse extends MetadataBearing { modes: { mode: string; label?: string; content: AllSupportedTypes; contentType?: 'text/markdown' | 'text/html'; defaultMode?: boolean; }[]; } export declare function isMultiModalResponse(entity: Entity): entity is MultiModalResponse; export declare function show(tab: Tab, mmr: MultiModalResponse): Promise<import("../webapp/views/presentation").default>; export {};