import { KubeConfig } from './config'; import { Exec } from './exec'; export declare class Cp { execInstance: Exec; constructor(config: KubeConfig, execInstance?: Exec); /** * @param {string} namespace - The namespace of the pod to exec the command inside. * @param {string} podName - The name of the pod to exec the command inside. * @param {string} containerName - The name of the container in the pod to exec the command inside. * @param {string} srcPath - The source path in the pod * @param {string} tgtPath - The target path in local */ cpFromPod(namespace: string, podName: string, containerName: string, srcPath: string, tgtPath: string): Promise; /** * @param {string} namespace - The namespace of the pod to exec the command inside. * @param {string} podName - The name of the pod to exec the command inside. * @param {string} containerName - The name of the container in the pod to exec the command inside. * @param {string} srcPath - The source path in local * @param {string} tgtPath - The target path in the pod */ cpToPod(namespace: string, podName: string, containerName: string, srcPath: string, tgtPath: string): Promise; }