/** * Adapter for Documentation System Plugin CLI tools. * Uses shell boundary to call CLI tools (see ADR-025). */ export declare class DocumentationPluginAdapter { private workspaceRoot; private pluginPath?; constructor(workspaceRoot: string, pluginPath?: string); /** * Finds Documentation System Plugin path. */ private findPluginPath; /** * Checks if Documentation System Plugin is available. * Returns true if: * 1. CLI files exist (already compiled), OR * 2. Plugin is installed (package.json exists with compile script) - will be compiled on first use */ isAvailable(): boolean; /** * Gets the plugin path. */ getPluginPath(): string | undefined; /** * Gets detailed availability information for debugging. */ getAvailabilityInfo(): { pluginPath: string | undefined; exists: boolean; hasOutCli: boolean; hasPackageJson: boolean; hasCliScripts: boolean; resolvedFrom: string; }; /** * Ensures the plugin is compiled. Attempts to compile if CLI files are missing. */ private ensureCompiled; /** * Runs scan CLI tool. */ runScan(options?: { files?: string[]; incremental?: boolean; }): Promise; /** * Runs validate CLI tool. */ runValidate(options?: { files?: string[]; verbose?: boolean; }): Promise; /** * Runs generate CLI tool. */ runGenerate(options?: { outputPath?: string; full?: boolean; verbose?: boolean; }): Promise; /** * Runs drift check tool. * Uses local implementation migrated from documentation-system-plugin/mcp/src/tools/drift.ts */ runDriftCheck(options?: { since?: string; }): Promise; /** * Runs impact analysis. * Uses local implementation migrated from documentation-system-plugin/mcp/src/tools/impact.ts */ analyzeImpact(options: { file: string; symbol?: string; }): Promise; /** * Runs ADR verification. * Note: This only requires the plugin path, not full plugin availability. */ verifyAdrs(options?: { verbose?: boolean; }): Promise; } //# sourceMappingURL=documentation-plugin-adapter.d.ts.map