1
|
/**
|
2
|
* @license
|
3
|
* Copyright Google Inc. All Rights Reserved.
|
4
|
*
|
5
|
* Use of this source code is governed by an MIT-style license that can be
|
6
|
* found in the LICENSE file at https://angular.io/license
|
7
|
*/
|
8
|
import { MissingTranslationStrategy, ɵConsole as Console } from '@angular/core';
|
9
|
import { HtmlParser } from '../ml_parser/html_parser';
|
10
|
import { InterpolationConfig } from '../ml_parser/interpolation_config';
|
11
|
import { ParseTreeResult } from '../ml_parser/parser';
|
12
|
export declare class I18NHtmlParser implements HtmlParser {
|
13
|
private _htmlParser;
|
14
|
getTagDefinition: any;
|
15
|
private _translationBundle;
|
16
|
constructor(_htmlParser: HtmlParser, translations?: string, translationsFormat?: string, missingTranslation?: MissingTranslationStrategy, console?: Console);
|
17
|
parse(source: string, url: string, parseExpansionForms?: boolean, interpolationConfig?: InterpolationConfig): ParseTreeResult;
|
18
|
}
|