import { Marked } from 'marked';

export declare const baseRenderer: {
    code(text: string, value: string | undefined): string;
};
/**
 * https://marked.js.org/using_advanced in Marked instance section.
 * https://marked.js.org/using_pro in Marked marked.use() section.
 * Calling `.use()` repeatedly mutates and accumulates extensions/renderers which can lead to duplicated rules and cross-component side effects.
 *
 * Change from Singleton to Factory pattern: returns a new isolated Marked parser.
 */
export declare function createParser(): Marked;
export type Parser = ReturnType<typeof createParser>;
