import { Realm } from './realm'; export declare function kcreate(realm: Realm, resourceNames?: string | string[]): Promise; export declare function kapply(realm: Realm, resourceNames?: string | string[]): Promise; export declare function kdel(realm: Realm, resourceNames?: string | string[]): Promise; export declare function klogs(realm: Realm, resourceNames?: string | string[]): Promise; /** * Will kubectl exec /service/restart.sh (will assume the pods/containers has one). * Assumptions: * - One container per pod. * - Does not check if /service/restart.sh exists, so, will crash if not. * @param runLabelPrefix * @param serviceNamesStr */ export declare function kshRestart(realm: Realm, serviceNamesStr: string): Promise; export declare function kexec(realm: Realm, serviceNamesStr: string, commandAndArgs: string[]): Promise; export declare function getCurrentContext(): Promise; export declare function setCurrentContext(name: string): Promise;