/**
 * @file Utilities - saveFile
 * @module trext/utils/saveFile
 */
/**
 * Saves a file. Creates a new directory if necessary.
 *
 * @async
 * @param {string} filename - Name of file to save
 * @param {string | Buffer} data - File content
 * @return {Promise<void>} Empty promise when complete
 */
declare const saveFile: (filename: string, data: string | Buffer) => Promise<void>;
export default saveFile;
//# sourceMappingURL=save-file.util.d.ts.map