UNPKG

mcp-crawl4ai-ts

Version:

TypeScript MCP server for Crawl4AI - web crawling and content extraction

16 lines 1.26 kB
import { BatchCrawlOptions, AdvancedCrawlConfig, CrawlEndpointResponse, JSExecuteEndpointOptions, JSExecuteEndpointResponse, ScreenshotEndpointOptions, ScreenshotEndpointResponse, PDFEndpointOptions, PDFEndpointResponse, HTMLEndpointOptions, HTMLEndpointResponse, MarkdownEndpointOptions, MarkdownEndpointResponse, LLMEndpointOptions, LLMEndpointResponse } from './types.js'; export declare class Crawl4AIService { private axiosClient; constructor(baseURL: string, apiKey: string); getMarkdown(options: MarkdownEndpointOptions): Promise<MarkdownEndpointResponse>; captureScreenshot(options: ScreenshotEndpointOptions): Promise<ScreenshotEndpointResponse>; generatePDF(options: PDFEndpointOptions): Promise<PDFEndpointResponse>; executeJS(options: JSExecuteEndpointOptions): Promise<JSExecuteEndpointResponse>; batchCrawl(options: BatchCrawlOptions): Promise<any>; getHTML(options: HTMLEndpointOptions): Promise<HTMLEndpointResponse>; parseSitemap(url: string): Promise<any>; detectContentType(url: string): Promise<string>; crawl(options: AdvancedCrawlConfig): Promise<CrawlEndpointResponse>; extractWithLLM(options: LLMEndpointOptions): Promise<LLMEndpointResponse>; } //# sourceMappingURL=crawl4ai-service.d.ts.map