UNPKG

kui-shell

Version:

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

12 lines (11 loc) 453 B
import REPL from '../models/repl'; import TabState from '../models/tab-state'; export interface Tab extends HTMLElement { REPL: REPL; state: TabState; } export declare function isTab(node: Element): node is Tab; export declare function getTabId(tab: Tab): string; export declare const sameTab: (tab1: Tab, tab2: Tab) => boolean; export declare const getTabFromTarget: (target: EventTarget) => Tab; export declare const getCurrentTab: () => Tab;