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<SchemaResponse>;
    /**
     * Submit crawling request (POST /crawl/run)
     */
    submitCrawlRequest(options: CrawlOptions): Promise<RunResponse>;
    /**
     * Get crawling run data/results (GET /crawl/run/data)
     */
    getCrawlRunData(runId: string): Promise<any>;
    /**
     * Synchronous crawling (wait for results)
     */
    crawl(options: CrawlOptions, timeout?: number, pollInterval?: number): Promise<any>;
    /**
     * Complete workflow with auto-schema and sync results
     */
    crawlWithAutoSchema(options: CrawlWithAutoSchemaOptions, timeout?: number): Promise<any>;
}
//# sourceMappingURL=aiCrawler.d.ts.map