import type { RAMAccessor } from '../../accessor/ram.ts';
import type { PathSpec } from '../../types.ts';
/**
 * Remove an empty directory, mirroring the python backend.
 *
 * The store is flat, so dropping the directory key is not the whole of
 * rmdir: the children are keyed independently and survive it. Without the
 * two checks below, `rmdir` on a populated directory reported success and
 * left every child addressable but unreachable -- `readdir` then raised,
 * because the directory they hang off had been erased.
 */
export declare function rmdir(accessor: RAMAccessor, path: PathSpec): Promise<void>;
//# sourceMappingURL=rmdir.d.ts.map