interface GenerateOptions { baseURL: string; out: string; fetch?: typeof globalThis.fetch; filter?: string; key?: string; /** Emit only the scrapers/endpoints this directory actually calls. */ scan?: string; } interface GenerateResult { written: string; scrapers: number; endpoints: number; /** Project keys found by --scan that the catalog does not know about. */ unknownKeys?: string[]; } declare function generate(opts: GenerateOptions): Promise; export { type GenerateOptions, type GenerateResult, generate };