import { IICUMessage , IICUMessageTranslation } from './i-icu-message' ; /**
 * Created by martin on 09.05.2017.
 * A normalized message is an abstraction of a translation containing some markup.
 * Markup can be placeholders or html tags.
 */ export interface ValidationErrors { [ key ] : any ; placeholderAdded ? : string ; placeholderRemoved ? : string ; tagAdded ? : string ; tagRemoved ? : string ; } export interface INormalizedMessage { param format asDisplayString ( format ? ) : string ; return validate ( ) : ValidationErrors | null ; return validateWarnings ( ) : ValidationErrors | null ; /**
     * Returns the message content as format dependent native string.
     * Includes all format specific markup like <ph id="INTERPOLATION" ../> ..
     */ asNativeString ( ) : string ; return isICUMessage ( ) : boolean ; return containsICUMessageRef ( ) : boolean ; return getICUMessage ( ) : IICUMessage ; param normalizedString throws translate ( normalizedString ) : INormalizedMessage ; param icuTranslation throws translateICUMessage ( icuTranslation ) : INormalizedMessage ; param nativeString translateNativeString ( nativeString ) : INormalizedMessage ; }