TeaSpeak-Client/imports/shared-app/text/markdown.d.ts

12 lines
422 B
TypeScript
Raw Normal View History

2021-02-07 14:01:37 -05:00
import { Env, Options, Token } from "remarkable/lib";
export declare class MD2BBCodeRenderer {
private static renderers;
private _options;
currentLineCount: number;
reset(): void;
render(tokens: Token[], options: Options, env: Env): string;
private renderToken;
options(): any;
}
export declare function renderMarkdownAsBBCode(message: string, textProcessor: (text: string) => string): string;