import type { H3Event } from 'h3'; export interface BatchIndexOptions { /** Max pages per batch (default: 10, max: 50) */ limit?: number; /** Process until complete (ignores limit) */ all?: boolean; /** Max ms to run (for all mode, default: 30000) */ timeout?: number; /** Concurrent page fetches (default: 5) */ concurrency?: number; } export interface BatchIndexResult { /** Number of pages indexed */ indexed: number; /** Pages remaining to index */ remaining: number; /** Routes that failed to index */ errors: string[]; /** Duration in ms */ duration: number; /** True if all pages are indexed */ complete: boolean; } /** * Batch index pending pages with parallel processing * Processes pages in concurrent chunks for better throughput */ export declare function batchIndexPages(event: H3Event | undefined, options?: BatchIndexOptions): Promise;