import type { FileSystem } from '@atlaspack/types-internal'; export declare function findAlternativeNodeModules(fs: FileSystem, moduleName: string, dir: string): Promise>; export declare function findAlternativeFiles(fs: FileSystem, fileSpecifier: string, dir: string, projectRoot: string, leadingDotSlash?: boolean, includeDirectories?: boolean, includeExtension?: boolean): Promise>;