/**
 * Module resolution helpers for Tsonic program creation.
 *
 * Provides package-root resolution, @tsonic/* module resolution,
 * and namespace remapping logic.
 */
import * as ts from "typescript";
/**
 * Read the `name` field from a package.json file.
 */
export declare const readPackageName: (pkgJsonPath: string) => string | undefined;
/**
 * Read the root namespace from a package's native source-package metadata or
 * CLR bindings payload.
 */
export declare const createReadPackageRootNamespace: (packageRootNamespaceCache: Map<string, string | null>) => ((packageRoot: string) => string | undefined);
/**
 * Parse a `@tsonic/*` module request into its components.
 */
export declare const parseTsonicModuleRequest: (moduleName: string) => {
    packageName: string;
    pkgDirName: string;
    subpath: string | undefined;
} | undefined;
/**
 * Resolve a module from a package root by trying candidate file paths.
 */
export declare const createResolveModuleFromPackageRoot: (packageRootModuleResolutionCache: Map<string, ts.ResolvedModuleFull | null>, readPackageRootNamespace: (packageRoot: string) => string | undefined) => ((packageRoot: string, subpath: string | undefined) => ts.ResolvedModuleFull | undefined);
//# sourceMappingURL=module-resolution.d.ts.map