import type { ProjectManifest, ProjectManifestSpec, ProjectStructure } from "../types.js"; interface PathMapping { pattern: string; targets: string[]; } export interface JavaScriptImportConfig { baseUrl?: string; pathsBase: string; exact: ReadonlyMap; patterns: readonly (PathMapping & { prefix: string; suffix: string; })[]; } export declare const JAVASCRIPT_PROJECT_MANIFESTS: readonly ProjectManifestSpec[]; /** One local inheritance level; relative options keep their declaring origin. * A child paths object replaces the whole parent object, as in TypeScript. */ export declare function importConfig(manifest: ProjectManifest, structure: ProjectStructure): JavaScriptImportConfig | undefined; /** Nearest config boundary, with tsconfig precedence in the same directory. * Config includes/excludes and project references are outside this resolver. */ export declare function nearestJavaScriptConfig(structure: ProjectStructure, directory: string): ProjectManifest | undefined; export {}; //# sourceMappingURL=javascript-config.d.ts.map