import { BuildOptions } from '../../types';
/**
 * Class responsible for safely cleaning output directories
 */
export declare class Cleaner {
    private static readonly PROTECTED_FOLDERS;
    /**
     * Safely cleans the output directory
     * @param options Build options
     */
    static cleanDist(options: Partial<BuildOptions>): Promise<void>;
    /**
     * Validates that the options are correct for cleaning
     * @param options Build options
     * @returns true if options are valid, false otherwise
     */
    private static validateOptions;
    /**
     * Verifies that the output directory exists and is safe to clean
     * @param distPath Path to the output directory
     * @returns true if the directory is valid and safe, false otherwise
     */
    private static validateDistPath;
    /**
     * Performs the cleaning of the directory or file
     * @param distPath Path to the output directory
     * @param outputPath Complete path to the output file
     */
    private static performClean;
    /**
     * Safely removes a file or directory
     * @param filePath Path to the file or directory to remove
     */
    private static removeFileOrDirectory;
}
