export declare const resolvePath: (path: string, root: any) => any;
export declare function getAbsolutePath(path: string, cwd: string): string;
export declare function getCwd(path: string): string;
export declare function dereferenceObject<T extends object, TRoot = T>(obj: T, { cwd, externalFileCache, refMap, root, debugLogFn, readFileOrUrl, resolvedObjects, }: {
    cwd?: string;
    externalFileCache?: Map<string, any>;
    refMap?: Map<string, any>;
    root?: TRoot;
    debugLogFn?(message?: any): void;
    readFileOrUrl(path: string, opts: {
        cwd: string;
    }): Promise<any> | any;
    resolvedObjects?: WeakSet<any>;
}): Promise<T>;
