import { PropsWithChildren } from 'react'; import { ConfigContextValue, LocaleDict as LD, ThemeConfig as TC } from '@befe/brick-core'; /** * @public */ export type ThemeConfig = TC; export type LocaleDict = LD; type PropsFromContext = Pick; export interface ConfigProviderProps extends PropsFromContext { /** * 指定使用的语言地区 */ locale?: string; /** * 语言地区词库集合 * 用以覆写各组件的内建词库: zh-cn | en-us * * 或自定义语言地区词库 */ localeDict?: LocaleDict; /** * @private * 给 confirm-controller, toast-controller 这种 off-board 情况指明为非根 provider */ isRoot?: false; } export declare function ConfigProvider(props: PropsWithChildren): import("react/jsx-runtime").JSX.Element; export declare namespace ConfigProvider { var displayName: string; } export {};