@awesome-fe/translate
Version:
Translation utils
7 lines (6 loc) • 317 B
TypeScript
import { SentenceFormat } from '../translator/sentence-format';
export declare class SentenceFormatter {
static toHtml(sentence: string, format: SentenceFormat): string;
static fromHtml(sentence: string, format: SentenceFormat): string;
static toPlain(sentence: string, format: SentenceFormat): string;
}