/**
 * Resolve a module to its package root from a host package's dependency context.
 * Ensures pnpm's strict node_modules structure can resolve packages when bundling
 * plugin chunks, and lets callers pin a module to whichever package actually owns it
 * (e.g. CodeMirror from @strapi/design-system's closure).
 *
 * @internal
 */
export declare const getModulePathFrom: (hostPackage: string, mod: string) => string;
/**
 * Resolve a module to its package root from @strapi/admin's closure.
 *
 * Admin Vite/webpack aliases must resolve from here so pnpm workspaces cannot pick up
 * a hoisted incompatible major from another package (e.g. @reduxjs/toolkit@2.x elsewhere
 * while admin pins 1.9.x).
 *
 * @internal
 */
export declare const getModulePath: (mod: string) => string;
//# sourceMappingURL=resolve-module.d.ts.map