/** * Shared entry-point resolution for plugin directories and openclaw extensions. * * Both the plugin loader and the extension discovery module need to resolve * the JavaScript/TypeScript entry point for a directory-based plugin. * This module provides a single canonical implementation. * * @module */ /** * Resolve the entry-point file for a plugin or extension directory. * * Resolution order: * 1. `package.json` → `openclaw.extensions[0]` (openclaw-specific manifest field) * 2. Conventional candidates: `index.ts`, `index.js`, `index.mts`, `index.mjs`, * `src/index.ts`, `src/index.js` * * @param dir - Absolute path to the plugin/extension directory. * @returns Absolute path to the entry-point file, or `null` if none is found. */ export declare function resolvePluginEntry(dir: string): string | null; //# sourceMappingURL=resolve-entry.d.ts.map