import { d as movePathToTrash$1 } from "./fs-safe-BFN3ftAo.js";
import { n as resolvePreferredDaoCoreTmpDir } from "./tmp-daocore-dir-kDRsiZXM.js";
import "./temp-path-CKL9wgHJ.js";
import "./browser-config-D85utIIt.js";
import os from "node:os";
//#region extensions/browser/src/browser/trash.ts
async function movePathToTrash(targetPath) {
	return await movePathToTrash$1(targetPath, { allowedRoots: [os.homedir(), resolvePreferredDaoCoreTmpDir()] });
}
//#endregion
export { movePathToTrash as t };
