/** * [WHO]: i18n, t(), setLocale(), getLocale(), AVAILABLE_LOCALES, type Locale * [FROM]: No external dependencies * [TO]: Consumed by modes/interactive/interactive-mode.ts, core/runtime/agent-session.ts, core/slash-commands.ts * [HERE]: core/platform/i18n/index.ts - internationalization core */ export type Locale = "en" | "zh"; export declare const AVAILABLE_LOCALES: Locale[]; export declare const LOCALE_NAMES: Record; export declare function getLocale(): Locale; export declare function setLocale(locale: Locale): void; import { slashCommands as slashCommandsEn } from "./slash-commands.js"; import { messages as messagesEn } from "./messages.js"; import { themes as themesEn } from "./themes.js"; import { slashCommands as slashCommandsZh } from "./slash-commands.zh.js"; export type SlashCommands = typeof slashCommandsEn; export type Messages = typeof messagesEn; export type Themes = typeof themesEn; export interface TranslationPaths { slashCommands: string[]; messages: string[]; themes: string[]; } export declare function tValue(path: string): T | undefined; export declare function t(path: string): string; export { slashCommandsEn, slashCommandsZh };