/**
* Discovers URLs from HTML content, a sitemap, or a starting URL.
*
* @param htmlContent - Optional HTML content to parse for links.
* @param baseUrl - The base URL for resolving relative links found in HTML.
* @param sourceUrlOrPath - The original source (starting URL or sitemap path/URL).
* @param useSitemap - Flag indicating whether to prioritize fetching and parsing a sitemap.
* @returns A promise resolving to an array of discovered absolute URLs.
*/
export declare function discoverUrls(htmlContent: string | null, baseUrl: string, sourceUrlOrPath: string, useSitemap?: boolean): Promise;
//# sourceMappingURL=discovery.d.ts.map