/** * Utility functions for markdown processing. */ export declare namespace CommonMarkUtil { /** * Processes the markdown to HTML. * * @param markdownStr Input markdown * @param showDebugLog If true, debuglog is displayed. * @param options CommonMark option. */ function convertToHTML(markdownStr: string, showDebugLog?: boolean, options?: any): (string | null); /** * Processes the markdown to HTML. * * @param markdownStr Input markdown * @param imgUrlPrefix If specified, image urls will be modified with the given prefix. * @param showDebugLog If true, debuglog is displayed. * @param options CommonMark option. */ function transformToHTML(markdownStr: string, imgUrlPrefix?: (string | null), showDebugLog?: boolean, options?: any): (string | null); /** * Processes the markdown to HTML. * * @param markdownStr Input markdown * @param imgUrlPrefix If specified, image urls will be modified with the given prefix. * @param externalizeLink If true, the link will be displayed as text. * @param showDebugLog If true, debuglog is displayed. * @param options CommonMark option. */ function transliterateToHTML(markdownStr: string, imgUrlPrefix?: (string | null), externalizeLink?: boolean, showDebugLog?: boolean, options?: any): (string | null); /** * Processes the markdown to HTML. * * @param markdownStr Input markdown * @param imgUrlPrefix If specified, image urls will be modified with the given prefix. * @param linkUrlPrefix If specified, links starting with pageLinkMarker will be prepended with the given prefix. * @param pageLinkMarker Indicator for link url modification. * @param removeMarker If true, the marker is removed when the prefix is prepended. * @param showDebugLog If true, debuglog is displayed. * @param options CommonMark option. */ function transmuteToHTML(markdownStr: string, imgUrlPrefix?: (string | null), linkUrlPrefix?: (string | null), pageLinkMarker?: string, removeMarker?: boolean, // tbd: option to replace marker with a different string? showDebugLog?: boolean, options?: any): (string | null); }