/** * `openlore plugin-manifest ` — inspect/validate the OpenSpec * **plugin** manifest OpenLore publishes (the `"openspec"` key in package.json). * * Deliberately named `plugin-manifest`, NOT `manifest`: `openlore manifest` is the * unrelated federation manifest (`.well-known/openlore.json`). Keeping the names * distinct means the two artifacts never collide in help, docs, or a user's mental * model. Discovery itself needs no command — OpenSpec reads the static package.json * key — so this command exists only for CI validation and non-npm distribution. */ import { Command } from 'commander'; /** OpenLore's own package root (where its package.json + the "openspec" key live). */ export declare function ownPackageRoot(): string; /** * Print the plugin manifest from `packageRoot` and return the process exit code. * Returns 2 when no manifest is found, 0 otherwise. In `--json` mode stdout * carries ONLY the manifest. Mirrors the federation `runManifestValidate` * return-code pattern so the exit-code contract is unit-testable without spawning. */ export declare function runPluginManifestEmit(packageRoot: string, asJson: boolean): number; /** * Validate the plugin manifest in `packageRoot` and return the process exit code: * 0 valid, 1 schema/semantic failure, 2 no manifest found. */ export declare function runPluginManifestValidate(packageRoot: string): number; export declare const pluginManifestCommand: Command; //# sourceMappingURL=index.d.ts.map