Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

971 B
Raw Blame
import { type HardlinkPolicy, type ReadResult, type SymlinkPolicy } from "./root.js";
export type LocalRootsPathResult = {
    path: string;
    root: string;
};
export type LocalRootsReadResult = ReadResult & {
    root: string;
};
export type LocalRootsInputOptions = {
    filePath: string;
    roots: readonly string[];
    label?: string;
};
export type ResolveLocalPathFromRootsSyncOptions = LocalRootsInputOptions & {
    allowMissing?: boolean;
    requireFile?: boolean;
};
export type ReadLocalFileFromRootsOptions = LocalRootsInputOptions & {
    hardlinks?: HardlinkPolicy;
    maxBytes?: number;
    nonBlockingRead?: boolean;
    symlinks?: SymlinkPolicy;
};
export declare function resolveLocalPathFromRootsSync(options: ResolveLocalPathFromRootsSyncOptions): LocalRootsPathResult | null;
export declare function readLocalFileFromRoots(options: ReadLocalFileFromRootsOptions): Promise<LocalRootsReadResult | null>;
//# sourceMappingURL=local-roots.d.ts.map