/**
 * CLR Bindings Package Resolution
 *
 * Package root resolution, bindings.json discovery, and metadata extraction
 * (namespace, assembly) for CLR bindings packages.
 */
import { createRequire } from "node:module";
/**
 * Resolve package root directory using Node resolution.
 *
 * Uses require.resolve to find the package's package.json,
 * then returns the directory containing it.
 */
export declare const resolvePkgRoot: (packageName: string, pkgRootCache: Map<string, string | null>, mainRequire: ReturnType<typeof createRequire>) => string | null;
/**
 * Check if bindings.json exists at the given path (cached)
 */
export declare const hasBindings: (bindingsPath: string, bindingsExistsCache: Map<string, boolean>) => boolean;
/**
 * Extract the namespace from a bindings.json file (cached).
 */
export declare const extractNamespace: (bindingsPath: string, namespaceCache: Map<string, string | null>) => string | undefined;
/**
 * Extract the assembly name from a bindings.json file (cached).
 * Looks at the first type's assemblyName field.
 */
export declare const extractAssembly: (bindingsPath: string, assemblyCache: Map<string, string | null>) => string | undefined;
//# sourceMappingURL=clr-bindings-package-resolution.d.ts.map