import { Registrar } from '@kui-shell/core'; type ConfigChangeEventType = 'SetNamespaceOrContext' | 'CreateOrDeleteNamespace' | 'LoginToContext'; type Handler = (type: ConfigChangeEventType, namespace?: string, context?: string) => void; export declare function emitKubectlConfigChangeEvent(type: ConfigChangeEventType, namespace?: string, context?: string): void; export declare function onKubectlConfigChangeEvents(handler: Handler): void; export declare function offKubectlConfigChangeEvents(handler: Handler): void; export declare function register(registrar: Registrar, cmd: string): void; /** * Register the commands * */ declare const _default: (registrar: Registrar) => void; export default _default;