/** * Resolve a plugin specifier to an importable file URL. * * Uses `createRequire(cwd)` so that bare specifiers (npm packages) are * resolved from the user's project rather than from this library's install * location. This handles global-CLI + local-plugin and local-CLI + * global-plugin scenarios correctly. * * CJS resolution also handles local directory paths with `main` or * `index.js` for free. If CJS resolution fails (e.g. an ESM-only package * whose exports map has no `require`/`default` condition), we fall back to * ESM-aware resolution via `import.meta.resolve` so that bare specifiers * still resolve from `cwd` rather than from this library's install location. */ export declare function resolvePluginSpecifier(specifier: string, cwd: string): string; //# sourceMappingURL=resolve-plugin.d.ts.map