import { LogFn } from '../../types/config.js';
import '@storm-software/config-tools/types';
import '@stryke/types/configuration';

/**
 * Writes and formats a file to the file system
 *
 * @param log - The logger function to use
 * @param filepath - The file path to write the file
 * @param content - The content to write to the file
 * @param skipFormat - Should the plugin skip formatting the `content` string with Prettier
 */
declare function writeFile(log: LogFn, filepath: string, content: string, skipFormat?: boolean): Promise<void>;

export { writeFile };
