/** * Confluence Bubble Utilities * * Helper functions for the Confluence service integration. */ /** * Converts markdown text to Confluence storage format (XHTML-based). * * Confluence uses an XHTML-based storage format for page bodies. * This function converts common markdown into the appropriate format. * Works for both page bodies and comment bodies. * * Supported markdown: * - **bold** or __bold__ * - *italic* or _italic_ * - `inline code` * - [links](url) * - # Headings (h1-h6) * - - Bullet lists * - 1. Numbered lists * - > Blockquotes * - ``` Code blocks ``` * - --- Horizontal rules * - ~~strikethrough~~ * - | Tables | * * @param text - Markdown or plain text to convert * @returns Confluence storage format XHTML string */ export declare function markdownToConfluenceStorage(text: string): string; /** * Converts Confluence storage format (XHTML) back to plain text. * * Strips HTML tags to produce readable plain text. * * @param storage - Storage format XHTML string * @returns Plain text representation */ export declare function storageToText(storage: string | undefined | null): string; /** * Enhances Confluence API error messages with helpful hints. * * @param errorText - Raw error text from API * @param statusCode - HTTP status code * @param statusText - HTTP status text * @returns Enhanced error message */ export declare function enhanceErrorMessage(errorText: string, statusCode: number, statusText: string): string; //# sourceMappingURL=confluence.utils.d.ts.map