import { fileMap } from "../../types"; import { Client, RunCommandOptions, RunCommandResponse } from "../client"; export declare function initClient(configPath: string, namespace: string, tmpDir: string): NativeClient; export declare class NativeClient extends Client { namespace: string; chainId?: string; configPath: string; debug: boolean; timeout: number; tmpDir: string; podMonitorAvailable: boolean; localMagicFilepath: string; remoteDir: string; dataDir: string; processMap: { [name: string]: { pid?: number; logs: string; portMapping: { [original: number]: number; }; cmd?: string[]; }; }; dbSnapshotCache: { [filename: string]: string; }; constructor(configPath: string, namespace: string, tmpDir: string); validateAccess(): Promise; createNamespace(): Promise; staticSetup(): Promise; createStaticResource(): Promise; createPodMonitor(): Promise; setupCleaner(): Promise; destroyNamespace(): Promise; getNodeLogs(name: string): Promise; dumpLogs(path: string, podName: string): Promise; upsertCronJob(): Promise; startPortForwarding(port: number, identifier: string): Promise; getPortMapping(port: number, podName: string): Promise; getNodeInfo(podName: string): Promise<[string, number]>; getNodeIP(): Promise; runCommand(args: string[], opts?: RunCommandOptions): Promise; runScript(identifier: string, scriptPath: string, args?: string[]): Promise; spawnFromDef(podDef: any, filesToCopy: fileMap[] | undefined, keystore: string, chainSpecId: string, dbSnapshot?: string): Promise; copyFileFromPod(identifier: string, podFilePath: string, localFilePath: string): Promise; putLocalMagicFile(): Promise; createResource(resourseDef: any): Promise; wait_node_ready(nodeName: string): Promise; informProcessDie(pid: number, nodeName: string): Promise; isPodMonitorAvailable(): Promise; spawnIntrospector(): Promise; getPauseArgs(name: string): string[]; getResumeArgs(name: string): string[]; restartNode(name: string, timeout: number | null): Promise; getLogsCommand(name: string): string; injectChaos(_chaosSpecs: any[]): Promise; }