import { default as React } from 'react'; import { AIChatLocale, AIChatMessages } from './types'; export interface AIChatI18nContextValue { locale: AIChatLocale; messages: AIChatMessages; /** 取文案,支持点路径如 'sender.placeholder' */ t: (key: string) => string; } declare const AIChatI18nContext: React.Context; export { AIChatI18nContext }; export declare function useAIChatI18n(): AIChatI18nContextValue; export interface AIChatI18nProviderProps { locale?: AIChatLocale; messages?: Partial; children: React.ReactNode; } /** * AIChat 根组件内使用的 i18n Provider,提供 locale 与合并后的 messages */ export declare function AIChatI18nProvider({ locale, messages: overrides, children, }: AIChatI18nProviderProps): import("react/jsx-runtime").JSX.Element;