import React from 'react';
import defaultTheme from './defaultTheme';
import { ThemeConfig } from './type';
interface ThemeItem {
    id: number;
    /** 主题配置内容，一个 JSON 字符串 */
    config: ThemeConfig;
    /** 主题是否可选 */
    optional: boolean;
    isBuiltIn?: boolean;
}
interface GlobalThemeContextProps {
    theme: ThemeConfig;
    setTheme: React.Dispatch<React.SetStateAction<ThemeConfig>>;
    setCurrentSettingTheme: (theme: ThemeConfig) => void;
    getCurrentSettingTheme: () => ThemeConfig;
    setCurrentEditingTheme: (themeItem: ThemeItem) => void;
    getCurrentEditingTheme: () => ThemeItem;
    isDarkTheme: boolean;
}
export declare const useGlobalTheme: () => GlobalThemeContextProps;
export declare const GlobalThemeProvider: ({ children, theme: themeFromProps }: {
    children: any;
    theme: any;
}) => React.JSX.Element;
export { default as AntdAppProvider } from './AntdAppProvider';
export * from './type';
export { defaultTheme };
