/**
 * @fileoverview File writing utilities.
 *
 * This module provides utilities for writing files and creating directories,
 * with error handling and logging.
 */
/**
 * Create a directory if it doesn't exist
 * @param dirPath Path to the directory
 * @returns Promise resolving when the directory is created or already exists
 */
export declare function ensureDirectoryExists(dirPath: string): Promise<void>;
/**
 * Write content to a file, creating the directory if needed
 * @param filePath Path to the file
 * @param content Content to write
 * @returns Promise resolving when the file is written
 */
export declare function writeFile(filePath: string, content: string): Promise<void>;
/**
 * Append content to a file, creating the file if it doesn't exist
 * @param filePath Path to the file
 * @param content Content to append
 * @returns Promise resolving when the content is appended
 */
export declare function appendFile(filePath: string, content: string): Promise<void>;
