import { type CrawlJob } from "../schema";
type CrawlJobStatus = CrawlJob["status"];
export declare function createCrawlJob(tenantId: string, sourceUrl: string): Promise<CrawlJob>;
/** Tenant-scoped lookup -- returns null if the job belongs to a different tenant. */
export declare function getCrawlJob(tenantId: string, id: string): Promise<CrawlJob | null>;
export declare function updateCrawlJobStatus(tenantId: string, id: string, status: CrawlJobStatus, patch?: Partial<Pick<CrawlJob, "errorMessage" | "pagesProcessed">>): Promise<CrawlJob | null>;
export {};
