import * as React from 'react';
import './_markdown-view.scss';
declare type ShowdownExtension = {
    type: string;
    regex?: RegExp;
    replace?: (...args: any[]) => string;
};
export declare const markdownConvert: (markdown: string, extensions?: ShowdownExtension[]) => Promise<any>;
declare type SyncMarkdownProps = {
    content?: string;
    emptyMsg?: string;
    exactHeight?: boolean;
    extensions?: ShowdownExtension[];
    renderExtension?: (contentDocument: HTMLDocument, rootSelector: string) => React.ReactNode;
    inline?: boolean;
    className?: string;
};
export declare const SyncMarkdownView: React.FC<SyncMarkdownProps>;
export {};
