/** * Create a path if it does not exist. * * @param abspath * @since 0.1.0 * @author Caique Araujo */ export declare function createPath(abspath: string): void; /** * Check if a file exists. * * @param filename * @returns True if the file exists, false otherwise. * @since 0.1.0 * @author Caique Araujo */ export declare function exists(filename: string): boolean; /** * Read a file. * * @param filename * @returns The file data. * @since 0.1.0 * @author Caique Araujo */ export declare function readFile(filename: string): Promise; /** * Remove a file. * * @param filename * @returns The filename. * @since 0.1.0 * @author Caique Araujo */ export declare function removeFile(filename: string): Promise; /** * Write data to a file. * * @param filename * @param data * @returns The filename. * @since 0.1.0 * @author Caique Araujo */ export declare function writeFile(filename: string, data: Buffer | string): Promise;