import { KubeOptions, KubeContext } from '@kui-shell/plugin-kubectl-core'; import { REPL as REPLType, Arguments, Registrar } from '@kui-shell/core'; /** * @return a `KubeContext` representing the current context * */ export declare function getCurrentContext({ REPL }: { REPL: REPLType; }): Promise; /** @return a list of `KubeContext` for all known contexts */ export declare function getAllContexts({ REPL }: { REPL: REPLType; }): Promise; export declare function getCurrentContextName({ REPL }: { REPL: REPLType; }): Promise; export type ContextArgs = Pick & Partial, 'parsedOptions'>>; /** @return the relevant context for the given args/command line */ export declare function getCurrentDefaultContextName({ REPL, parsedOptions }: ContextArgs): string | Promise; /** @return the relevant namespace for the given args/command line */ export declare function getCurrentDefaultNamespace(args: ContextArgs, context?: string, noCache?: boolean): Promise; /** * Register the commands * */ declare const _default: (commandTree: Registrar) => void; export default _default;