/** * @license * Copyright 2020 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ import type { Config } from '../types/config.js'; import { Formatter } from './index.js'; import { ProgramMessage, Bundle } from '../messages.js'; /** * Create an XLB formatter from a main config object. */ export declare function xlbFactory(config: Config): XlbFormatter; /** * Formatter for XLB. */ declare class XlbFormatter implements Formatter { private config; private xlbConfig; constructor(config: Config); /** * Read translations from all XLB files on disk that match the configured glob * pattern. */ readTranslations(): Array; /** * Parse the given XLB XML string and return its translations. */ private parseXmb; /** * Write the source messages output file. */ writeOutput(sourceMessages: ProgramMessage[]): Promise; } export {};