/**
 * Lightweight i18n module.
 *
 * Usage:
 *   import { t } from "../i18n/index.js";
 *   t("cmd.stop.sent", locale)              // no placeholders
 *   t("cmd.sleep.changed", locale, "10", "30")  // with placeholders
 *
 * The locale is typically read from `ownerConfig.language`.
 * Falls back to English when a locale or key is missing.
 */
import { DEFAULT_LOCALE, SUPPORTED_LOCALES, type MessageKey, type Locale } from "./messages.js";
export type { MessageKey, Locale };
export { DEFAULT_LOCALE, SUPPORTED_LOCALES };
/**
 * Resolve a locale string (e.g. "zh-CN", "en-US", "zh") to a supported Locale.
 * Falls back to DEFAULT_LOCALE ("en") for unknown values.
 */
export declare function resolveLocale(raw: string | undefined): Locale;
/**
 * Translate a message key into the given locale, substituting `{0}`, `{1}`, …
 * with the provided args.
 */
export declare function t(key: MessageKey, locale: Locale, ...args: string[]): string;
//# sourceMappingURL=index.d.ts.map