UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

30 lines (29 loc) 1.07 kB
import { a as SymlinkPolicy, t as HardlinkPolicy } from "./root-impl-DRXbHPA1.js"; import { t as ReadResult } from "./read-opened-file-Do-jsWFN.js"; //#region node_modules/@openclaw/fs-safe/dist/local-roots.d.ts type LocalRootsPathResult = { path: string; root: string; }; type LocalRootsReadResult = ReadResult & { root: string; }; type LocalRootsInputOptions = { filePath: string; roots: readonly string[]; label?: string; }; type ResolveLocalPathFromRootsSyncOptions = LocalRootsInputOptions & { allowMissing?: boolean; requireFile?: boolean; }; type ReadLocalFileFromRootsOptions = LocalRootsInputOptions & { hardlinks?: HardlinkPolicy; maxBytes?: number; nonBlockingRead?: boolean; symlinks?: SymlinkPolicy; }; declare function resolveLocalPathFromRootsSync(options: ResolveLocalPathFromRootsSyncOptions): LocalRootsPathResult | null; declare function readLocalFileFromRoots(options: ReadLocalFileFromRootsOptions): Promise<LocalRootsReadResult | null>; //#endregion export { resolveLocalPathFromRootsSync as n, readLocalFileFromRoots as t };