import type { FilePath, Options } from './types.js';
/**
 * Removes the directories specified in the file path, if they are
 * empty.
 *
 * ⚠️ Likely, you won't need this method but `removeFiles()` instead.
 *
 * @param filePath
 *
 * A file path.
 *
 * @param options
 *
 * An object with `projectRoot`.
 *
 * @example
 *
 * Remove the folder `ember-container-query` if it is empty.
 *
 * ```ts
 * const filePath = 'ember-container-query/LICENSE.md';
 *
 * removeDirectoryIfEmpty(filePath, {
 *   projectRoot,
 * });
 * ```
 */
export declare function removeDirectoryIfEmpty(filePath: FilePath, options: Options & {
    projectRoot: string;
}): void;
