import { OxylabsAIStudioClient } from '../client.js'; import { GenerateSchemaOptions, CrawlOptions, CrawlWithAutoSchemaOptions, RunResponse, SchemaResponse } from '../types.js'; /** * AI-Crawl Service * Handles all AI-Crawl related API calls */ export declare class AiCrawlerService { private client; constructor(client: OxylabsAIStudioClient); /** * Generate schema for crawling (POST /crawl/generate-params) */ generateSchema(options: GenerateSchemaOptions): Promise; /** * Submit crawling request (POST /crawl/run) */ submitCrawlRequest(options: CrawlOptions): Promise; /** * Get crawling run data/results (GET /crawl/run/data) */ getCrawlRunData(runId: string): Promise; /** * Synchronous crawling (wait for results) */ crawl(options: CrawlOptions, timeout?: number, pollInterval?: number): Promise; /** * Complete workflow with auto-schema and sync results */ crawlWithAutoSchema(options: CrawlWithAutoSchemaOptions, timeout?: number): Promise; } //# sourceMappingURL=aiCrawler.d.ts.map