1 | /// <reference types="node" />
|
2 | import { readFile, writeFile } from 'fs';
|
3 | export declare const normalizePath: (path: string) => string;
|
4 | export declare const getRelative: (from: string, to: string) => string;
|
5 | export declare const getMatchString: (pattern: string, selected: number) => (str: string) => string[];
|
6 | export declare const pReadFile: typeof readFile.__promisify__;
|
7 | export declare const pWriteFile: typeof writeFile.__promisify__;
|
8 | export declare const getFileContent: (file: string) => Promise<string>;
|