UNPKG

@imqueue/rpc

Version:

RPC-like client-service implementation over messaging queue

23 lines (22 loc) 498 B
/** * Checks if file exists at given path * * @param {string} path * @return {Promise<any>} */ export declare function fileExists(path: string): Promise<unknown>; /** * Async mkdir * * @param {string} path * @return {Promise<any>} */ export declare function mkdir(path: string): Promise<unknown>; /** * Async writeFile * * @param {string} path * @param {string} content * @return {Promise<any>} */ export declare function writeFile(path: string, content: string): Promise<unknown>;