UNPKG

kui-shell

Version:

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

6 lines (5 loc) 344 B
import { UI } from '@kui-shell/core'; import { EditorResponse, EditorState, CommandResponse } from './response'; declare type ModeFunction = (state: EditorState) => UI.Mode; export declare const respondToRepl: (extraModes?: ModeFunction[], displayOptions?: any[]) => (response: EditorResponse) => CommandResponse; export default respondToRepl;