UNPKG

kui-shell

Version:

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

11 lines (10 loc) 545 B
import { PopupEntity } from './popup'; import UsageError from '../core/usage-error'; import { HideError, CodedError } from '../models/errors'; interface PopupError extends Error { content?: Element; modes?: PopupEntity; } export declare const oops: (command: string, block?: HTMLElement, nextBlock?: HTMLElement) => (err: Error | UsageError | CodedError<number> | HideError | PopupError) => Promise<boolean>; export declare const showHelp: (command: string, block: HTMLElement, nextBlock: HTMLElement, error: Error) => false; export {};