UNPKG

@apify/actors-mcp-server

Version:

Model Context Protocol Server for Apify

21 lines 1.02 kB
import type { ApifyDocsSearchResult } from '../types.js'; /** * Searches the Apify documentation using Algolia and returns relevant results. * * @param {string} query - The search query string. * @returns {Promise<ApifyDocsSearchResult[]>} Array of search results with URL, optional fragment, and content. */ export declare function searchApifyDocs(query: string): Promise<ApifyDocsSearchResult[]>; /** * Searches the Apify documentation using Algolia and caches the results. * * If the query has been previously searched, it returns cached results. * Otherwise, it performs a new search and caches the results for future use. * * Note: The query is normalized to lowercase for case-insensitive caching. * * @param {string} query - The search query string. * @returns {Promise<ApifyDocsSearchResult[]>} Array of search results with URL, optional fragment, and content. */ export declare function searchApifyDocsCached(query: string): Promise<ApifyDocsSearchResult[]>; //# sourceMappingURL=apify-docs.d.ts.map