/**
 * crawl_and_generate — zero-config test generation for any web app.
 *
 * Given any URL:
 * 1. Crawls the app with a headless browser to discover pages
 * 2. Visits each page, captures a screenshot + simplified HTML
 * 3. Sends the page context to the configured model to write test scenarios
 * 4. Creates the scenarios in the DB under the given project
 *
 * Works for any web app — no manual setup required.
 */
export interface CrawlAndGenerateOptions {
    url: string;
    projectId?: string;
    maxPages?: number;
    scenariosPerPage?: number;
    model?: string;
    apiKey?: string;
    headed?: boolean;
    skipPaths?: string[];
    tags?: string[];
}
export interface GeneratedPage {
    path: string;
    title: string;
    scenariosCreated: number;
    scenarios: Array<{
        id: string;
        shortId: string;
        name: string;
    }>;
}
export interface CrawlAndGenerateResult {
    projectId: string | null;
    url: string;
    pagesDiscovered: number;
    pagesGenerated: number;
    totalScenariosCreated: number;
    pages: GeneratedPage[];
    skipped: string[];
}
export declare function crawlAndGenerate(options: CrawlAndGenerateOptions): Promise<CrawlAndGenerateResult>;
//# sourceMappingURL=crawl-and-generate.d.ts.map