mono/packages/kbot/dist-in/http.d.ts
2025-04-06 17:49:29 +02:00

18 lines
498 B
TypeScript

import { IHandlerResult } from './mime-handlers.js';
/**
* Process HTML content into markdown
*/
export declare function processHtml(html: string): string;
/**
* Fetch web content with caching
*/
export declare function fetchUrl(url: string): Promise<{
content: string;
contentType: string;
isProcessed: boolean;
}>;
/**
* Handle a web URL and return it in a format compatible with the get() function
*/
export declare function handleWebUrl(url: string): Promise<IHandlerResult>;