// Copyright 2020 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only export type LocaleMessagesType = { [key: string]: { message: string; description?: string; }; }; export type ReplacementValuesType = { [key: string]: T; }; export type LocaleType = { i18n: ( key: string, placeholders: Array | ReplacementValuesType ) => string; messages: LocaleMessagesType; };