import { OxylabsAIStudioClient } from '../client.js';
import { GenerateSchemaOptions, ScrapeOptions, ScrapeWithAutoSchemaOptions, RunResponse, RunStatusResponse, SchemaResponse } from '../types.js';
/**
 * AI-Scraper Service
 * Handles all AI-Scraper related API calls
 */
export declare class AiScraperService {
    private client;
    constructor(client: OxylabsAIStudioClient);
    /**
     * Generate schema for scraping (POST /scrape/schema)
     */
    generateSchema(options: GenerateSchemaOptions): Promise<SchemaResponse>;
    /**
     * Submit scraping request (POST /scrape)
     */
    submitScrapeRequest(options: ScrapeOptions): Promise<RunResponse>;
    /**
     * Get scraping run status (GET /scrape/run)
     */
    getScrapeRun(runId: string): Promise<RunStatusResponse>;
    /**
     * Get scraping run data/results (GET /scrape/run/data)
     */
    getScrapeRunData(runId: string): Promise<any>;
    /**
     * Synchronous scraping (wait for results)
     */
    scrape(options: ScrapeOptions, timeout?: number, pollInterval?: number): Promise<any>;
    /**
     * Complete workflow with auto-schema and sync results
     */
    scrapeWithAutoSchema(options: ScrapeWithAutoSchemaOptions, timeout?: number): Promise<any>;
}
//# sourceMappingURL=aiScraper.d.ts.map