import type { GetRelatedArticlesInput, GetRelatedArticlesOutput } from '../types/index.js'; import { FileRegistry } from '../indexing/file-registry.js'; import { FileCache } from '../cache/file-cache.js'; import { SemanticSearch } from '../search/semantic.js'; /** * Get related articles tool handler */ export declare class GetRelatedArticlesTool { private registry; private fileCache; private semanticSearch; constructor(registry: FileRegistry, fileCache: FileCache, semanticSearch: SemanticSearch); /** * Finds articles related to a given article */ execute(input: GetRelatedArticlesInput): Promise; /** * Finds related articles based on links */ private findByLinks; /** * Finds related articles based on semantic similarity */ private findBySemantic; /** * Deduplicates and sorts related articles */ private deduplicateAndSort; /** * Resolves identifier to file path */ private resolveIdentifier; /** * Gets the tool schema for MCP */ static getSchema(): { name: string; description: string; inputSchema: { type: string; properties: { identifier: { type: string; description: string; }; method: { type: string; enum: string[]; description: string; default: string; }; limit: { type: string; description: string; default: number; minimum: number; maximum: number; }; }; required: string[]; }; }; } //# sourceMappingURL=get-related.d.ts.map