@promptbook/vercel
Version:
Promptbook: Turn your company's scattered knowledge into AI ready books
20 lines (19 loc) • 799 B
TypeScript
import type { string_html } from '../../types/typeAliases';
/**
* Prettify the html code
*
* @param content raw html code
* @returns formatted html code
* @private withing the package because of HUGE size of prettier dependency
* @deprecated Prettier removed from Promptbook due to package size
*/
export declare function prettifyMarkdown<TContent extends string_html>(content: TContent): TContent;
/**
* Async version of prettifyMarkdown using dynamic imports
*
* @param content raw html code
* @returns formatted html code
* @private withing the package because of HUGE size of prettier dependency
* @deprecated Prettier removed from Promptbook due to package size
*/
export declare function prettifyMarkdownAsync<TContent extends string_html>(content: TContent): Promise<TContent>;