///
///
import { NodeFileTraceOptions, NodeFileTraceResult, NodeFileTraceReasons, NodeFileTraceReasonType } from './types';
export declare function nodeFileTrace(files: string[], opts?: NodeFileTraceOptions): Promise;
export declare class Job {
ts: boolean;
base: string;
cwd: string;
conditions: string[];
exportsOnly: boolean;
paths: Record;
ignoreFn: (path: string, parent?: string) => boolean;
log: boolean;
mixedModules: boolean;
analysis: {
emitGlobs?: boolean;
computeFileReferences?: boolean;
evaluatePureExpressions?: boolean;
};
private analysisCache;
fileList: Set;
esmFileList: Set;
processed: Set;
warnings: Set;
reasons: NodeFileTraceReasons;
private cachedFileSystem;
constructor({ base, processCwd, exports, conditions, exportsOnly, paths, ignore, log, mixedModules, ts, analysis, cache, fileIOConcurrency, }: NodeFileTraceOptions);
readlink(path: string): Promise;
isFile(path: string): Promise;
isDir(path: string): Promise;
stat(path: string): Promise;
private maybeEmitDep;
resolve(id: string, parent: string, job: Job, cjsResolve: boolean): Promise;
readFile(path: string): Promise;
realpath(path: string, parent?: string, seen?: Set): Promise;
emitFile(path: string, reasonType: NodeFileTraceReasonType, parent?: string, isRealpath?: boolean): Promise;
getPjsonBoundary(path: string): Promise;
emitDependency(path: string, parent?: string): Promise;
}