import type { CrawlResultItem } from '../types.js'; export declare function isIndexingEnabled(): boolean; /** * Enqueue a crawl item for background embedding. Returns a Promise that * resolves once the job has been recorded in the queue. In sync mode * (`WIGOLO_WAIT_FOR_INDEX=1`) the promise resolves only after the embed * + upsert completes; otherwise it resolves immediately and the work * runs on the queue's background worker. */ export declare function enqueueIndexCrawl(item: CrawlResultItem): Promise; /** * Opt-in: embed (title + first 500 chars of markdown) and upsert into the * vector store. Errors are logged at debug and swallowed so a misbehaving * embed provider can never break a crawl. Disabled by default — gate via * WIGOLO_CRAWL_INDEX=1. */ export declare function indexCrawlResult(item: CrawlResultItem): Promise; //# sourceMappingURL=index-to-vec.d.ts.map