export interface ValidationToolchain { readonly compiler: string; readonly nodeTypesRoot: string; readonly paths: Readonly>; } export interface InstalledPackage { readonly name: string; readonly directory: string; readonly manifestPath: string; readonly manifest: PackageManifest; } interface PackageManifest { readonly name?: unknown; readonly main?: unknown; readonly module?: unknown; readonly types?: unknown; readonly typings?: unknown; readonly exports?: unknown; readonly typesVersions?: unknown; } /** Build static validation from the one explicitly prepared project workflow package. */ export declare function resolveValidationToolchain(packageRoot: string): Promise; /** * Resolve the runtime module for one specifier exported by `pkg`: the installed JavaScript named by * the package's own exports map, or the package's TypeScript source for a clean `file:` install * (`pnpm --ignore-scripts` runs no prepack, so `dist/` may not exist yet — the equally authoritative * source stands in, mirroring {@link frameworkTypePaths}). Anything else throws the original * resolution error: a runtime module the environment cannot name is an infrastructure failure. */ export declare function resolveRuntimeModule(pkg: InstalledPackage, specifier: string): string; export declare function readInstalledPackage(packageRoot: string, name: string): Promise; export declare class MissingValidationPackageError extends Error { constructor(name: string, packageRoot: string, manifestPath: string, cause?: unknown); } export {}; //# sourceMappingURL=toolchain.d.ts.map