UNPKG

@awesome-fe/translate

Version:
9 lines (8 loc) 465 B
import { SentenceFormat } from '../translator/sentence-format'; export declare class SentenceFormatter { static toHtml(sentence: string, format: SentenceFormat): string; static toMarkdown(sentence: string, format: SentenceFormat): string; static fromHtml(sentence: string, format: SentenceFormat): string; static fromMarkdown(sentence: string, format: SentenceFormat): string; static toPlain(sentence: string, format: SentenceFormat): string; }