import type { AiSearchWebCrawlerSource } from "./ai-search.ts";
/**
 * Builds an AiSearchWebCrawlerSource configuration from URLs.
 *
 * This is a convenience helper that parses URLs and extracts the domain
 * and path filters for use with AiSearch.
 *
 * @example
 * // Crawl an entire domain
 * const search = await AiSearch("docs-search", {
 *   source: AiCrawler(["https://docs.example.com"]),
 * });
 *
 * @example
 * // Crawl specific paths on a domain
 * const search = await AiSearch("blog-search", {
 *   source: AiCrawler([
 *     "https://example.com/blog",
 *     "https://example.com/news",
 *   ]),
 * });
 *
 * @param urls - URLs to crawl. All URLs must be from the same domain.
 * @returns An AiSearchWebCrawlerSource configuration object
 */
export declare function AiCrawler(urls: string[]): AiSearchWebCrawlerSource;
//# sourceMappingURL=ai-crawler.d.ts.map