#!/usr/bin/env node
/**
 * Vaadin Documentation MCP Server
 *
 * This server provides access to Vaadin documentation through the Model Context Protocol.
 * It allows IDE assistants and developers to search for relevant documentation and navigate
 * hierarchical relationships between documents using parent-child links.
 * Uses stdio transport for local connections and defers queries to the REST server.
 */
/**
 * Search result interface (legacy compatibility)
 */
export interface SearchResult {
    text: string;
    metadata: {
        title: string;
        source: string;
        url: string;
        heading?: string;
        [key: string]: any;
    };
    score: number;
}
