@promptbook/google
Version:
Promptbook: Turn your company's scattered knowledge into AI ready books
14 lines (13 loc) • 538 B
TypeScript
/**
* Client-side safe wrapper for fetching URL content
*
* This function proxies requests to the Agents Server API endpoint for scraping,
* making it safe to use in browser environments.
*
* @param url The URL to fetch and scrape
* @param agentsServerUrl The base URL of the agents server (defaults to current origin)
* @returns Markdown content from the URL
*
* @private internal utility for USE BROWSER commitment
*/
export declare function fetchUrlContentViaBrowser(url: string, agentsServerUrl?: string): Promise<string>;