/** * @license * Copyright (c) Peculiar Ventures, LLC. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import en from '../locales/en.json'; interface IReplacerType { pattern: string; replacer: string; } declare const MESSAGES_ALL: { en: { basicInformation: string; subjectName: string; issuerName: string; publicKeyInfo: string; signature: string; extensions: string; miscellaneous: string; download: string; "download.pem": string; "download.der": string; serialNumber: string; version: string; validity: string; issued: string; expired: string; lastUpdate: string; nextUpdate: string; algorithm: string; namedCurve: string; exponent: string; modulus: string; value: string; valid: string; revoked: string; issuer: string; name: string; publicKey: string; fingerprint: string; fingerprints: string; testURLs: string; certificateDetails: string; holder: string; digestInfo: string; type: string; revokedCertificates: string; revocationDate: string; yes: string; no: string; onlyUserCertificates: string; onlyAttributeCertificates: string; onlyCACertificates: string; indirectCRL: string; onlyReasons: string; crlEntryExtensions: string; previewCertificate: string; viewDetails: string; downloadOptions: string; keyId: string; principals: string; criticalOptions: string; signingCA: string; }; }; export type TSupportedMessagesType = keyof typeof MESSAGES_ALL; export declare class Localization { private locale; constructor(); setLocale: (locale: TSupportedMessagesType) => void; getLocale: () => string; getString(id: keyof typeof en, replacer?: IReplacerType): string | string[]; } export declare const l10n: Localization; export {};