///
import { type ThemeConfig, type Colors, type Theme } from '@chakra-ui/react';
export declare type ThemeContext = {
/**
* @description custom or use inner color scheme of chakra
* @description.zh-CN 自定义或chakra提供的色系
* @default baseTheme.colors.purple
*/
brand?: Colors;
/**
* @description manual change brand handler
* @description.zh-CN 手动切换函数
* @default changeBrand
*/
changeBrand?: (brand: string | Colors) => void;
};
export declare type DocProviderProps = ThemeContext & {
/**
* @description total control of chakra theme config
* @description.zh-CN 自定义chakra主题设置
*/
config?: Partial;
};
export declare const ThemeProvider: import("react").Provider;
export default function useTheme(): DocProviderProps;