import { FakeFS, NativePath, PortablePath } from '@yarnpkg/fslib'; import fs from 'fs'; import { PnpApi } from '../types'; export type ApiMetadata = { instance: PnpApi; stats: fs.Stats; lastRefreshCheck: number; }; export type MakeManagerOptions = { fakeFs: FakeFS; }; export type Manager = ReturnType; export declare function makeManager(pnpapi: PnpApi, opts: MakeManagerOptions): { getApiPathFromParent: (parent: NodeModule | null | undefined) => PortablePath | null; findApiPathFor: (modulePath: NativePath) => PortablePath | null; getApiEntry: (pnpApiPath: PortablePath, refresh?: boolean) => ApiMetadata; };