/** * Template types available */ export type TemplateType = 'basic' | 'api' | 'form' | 'advanced' | 'infinite-scroll' | 'js-heavy'; /** * Generation options */ export interface GenerateOptions { template?: TemplateType; name?: string; output?: string; interactive?: boolean; } /** * Scraper configuration for generation */ export interface ScraperConfig { name: string; description: string; url: string; template: TemplateType; navigation: { type: 'direct' | 'form' | 'api'; inputSelector?: string; submitSelector?: string; paramName?: string; }; waitStrategy: { type: 'selector' | 'response' | 'timeout'; selector?: string; urlPattern?: string; duration?: number; }; outputFields: Array<{ name: string; selector: string; type: 'text' | 'attribute' | 'html'; attribute?: string; }>; options: { retries: number; timeout: number; loadImages: boolean; }; } /** * Generate a new scraper */ export declare function generateScraper(options: GenerateOptions): Promise; //# sourceMappingURL=generate.d.ts.map