import type { OneDriveAccessor } from '../../accessor/onedrive.ts';
import type { PathSpec } from '../../types.ts';
/**
 * Remove an empty folder.
 *
 * A Graph `DELETE /drives/{id}/items/{item}` removes a folder and
 * everything under it, so this is the same request `rmR` sends and the
 * emptiness check is the only thing separating them. Without it `rmdir`
 * destroyed the whole subtree for every caller that does not pre-check
 * emptiness itself, and the command builders are the only callers that do:
 * FUSE, `ws.vfs` and the sandbox runtimes all reach the op directly.
 *
 * Args:
 *   accessor: OneDrive accessor.
 *   path: folder to remove.
 */
export declare function rmdir(accessor: OneDriveAccessor, path: PathSpec): Promise<void>;
//# sourceMappingURL=rmdir.d.ts.map