export interface Response { response?: R | undefined; error?: { type: string; message: string; } | undefined; } export interface CrawlJobInventory { topics: string[]; urls: string[]; } export interface CrawlJobInventoryListResponse { jobInventory: CrawlJobInventory; } export interface SearchedDocument { content: string; metadata: Record; score: number; id?: string; } export interface SearchResponse { documents: SearchedDocument[]; }