@promptbook/google
Version:
Promptbook: Turn your company's scattered knowledge into AI ready books
9 lines (8 loc) • 326 B
TypeScript
/**
* Extracts all valid URLs from arbitrary text while removing common trailing punctuation.
*
* @param text - Input text that may contain one or more URLs.
* @returns Unique URLs in their first-seen order.
* @private utility of KNOWLEDGE parsing
*/
export declare function extractUrlsFromText(text: string): string[];