/** * i18n types for plugin error/lint message internationalization. * * Every farm plugin emits error messages, lint warnings, and diagnostic output. * This shared infrastructure allows plugins to register localized message bundles * and look up messages by key with argument interpolation. */ export type Locale = 'en' | 'zh' | 'la'; export type MessageFn = (...args: any[]) => string; export type MessageBundle = Record;