@promptbook/vercel
Version:
Promptbook: Turn your company's scattered knowledge into AI ready books
8 lines (7 loc) • 326 B
TypeScript
/**
* Collect matching CSS texts from document stylesheets for a given class.
* This will skip cross-origin stylesheets (they throw when accessed).
*
* @private within the promptbook components <- TODO: Maybe make promptbook util from this
*/
export declare function collectCssTextsForClass(className: string): string[];