/** * Utilities for reading a local file with specified file path * @export * @class NVURIUtil */ import { IHandlerParameters } from "@zowe/imperative"; export declare class ReadWriteFileUtil { /** * This is a menthod to read a local file with specified file path * * @param {string} localFilePath - local file path which indicates an autoamtion table file * @param {IHandlerParameters} params - Command parameters sent by imperative. * @returns {string} atstatement - the automation table statements that are read from the file */ static readFile(localFilePath: string, params: IHandlerParameters): Promise; /** * This is a menthod to write a local file with specified file path * * @param {string} localFilePath - local file path which indicates an autoamtion table file * @param {string} tblLines - the automation table statements in lines * @param {IHandlerParameters} params - Command parameters sent by imperative. * @returns {boolean} - whether the automation table is written successully */ static writeFile(localFilePath: string, tblLines: string, params: IHandlerParameters): Promise; }