/**
 * OwlCoda Native WebFetch Tool
 *
 * Fetches content from a URL and returns it as text/markdown.
 * Native implementation: direct HTTP fetch + regex-based HTML-to-text.
 * Avoids remote domain-check dependencies and secondary model calls.
 */
import type { NativeToolDef } from './types.js';
export interface WebFetchInput {
    /** The URL to fetch */
    url: string;
    /** Optional prompt — included as context but not processed by a secondary model */
    prompt?: string;
}
/** Strip HTML tags and decode basic entities into readable text. */
export declare function htmlToText(html: string): string;
export declare function extractLlmsTxtCandidateUrls(llmsTxt: string, baseUrl: URL): URL[];
export declare function createWebFetchTool(): NativeToolDef<WebFetchInput>;
