import { I18nOptions as _I18nOptions } from '@angular/build/private'; export type I18nOptions = _I18nOptions; export interface SourceLocale { code?: string; baseHref?: string; subPath?: string; } export interface LocaleMetadata { translation?: string | string[]; baseHref?: string; subPath?: string; } export interface I18nProjectMetadata { sourceLocale?: string | SourceLocale; locales?: Record; } /** * How to handle potential diagnostics. */ export type DiagnosticHandlingStrategy = 'error' | 'warning' | 'ignore'; export declare class Diagnostics { readonly messages: { type: 'warning' | 'error'; message: string; }[]; get hasErrors(): boolean; add(type: DiagnosticHandlingStrategy, message: string): void; warn(message: string): void; error(message: string): void; merge(other: Diagnostics): void; formatDiagnostics(message: string): string; } //# sourceMappingURL=i18n.d.ts.map