@angular/compiler-cli
Version:
Angular - the compiler CLI for Node.js
14 lines (13 loc) • 729 B
TypeScript
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import { MessageBundle } from '@angular/compiler';
import ts from 'typescript';
import { CompilerOptions } from './api';
export declare function i18nGetExtension(formatName: string): string;
export declare function i18nExtract(formatName: string | null, outFile: string | null, host: ts.CompilerHost, options: CompilerOptions, bundle: MessageBundle, pathResolve?: (...segments: string[]) => string): string[];
export declare function i18nSerialize(bundle: MessageBundle, formatName: string, options: CompilerOptions): string;