import type { GlobalToken } from 'antd'; import React from 'react'; import type { Theme } from '../ConfigProviderExt/context'; import type { ThemeColor } from '../theme/type'; export interface ThemeProps { children: React.ReactNode; tokenExt?: Partial; } export interface MapTheme { theme?: Theme; className?: string; emotioncss?: Partial) => string) | undefined>>; themeWrap?: Partial JSX.Element) | undefined>>; } export declare const DefaultThemeWithMemo: React.NamedExoticComponent; export default function useMapTheme(props: MapTheme): { classes: string; ThemeWrapper: ((props: ThemeProps) => JSX.Element) | React.NamedExoticComponent; theme: Theme; themeConfig: {}; token: GlobalToken; tokenExt: { colorPrimaryL1: string; colorPrimaryL2: string; colorPrimaryL3: string; colorSuccess: string; colorWarning: string; colorError: string; colorOrange: string; colorWeakPrimary: string; colorWeakSuccess: string; colorWeakWarning: string; colorWeakNotice: string; colorWeakError: string; colorBlackL1: string; colorBlackL2: string; colorBlackL3: string; colorBlackL4: string; colorGreyL1: string; colorGreyL2: string; colorGreyL3: string; colorGreyL4: string; colorGreyL5: string; colorGreyL6: string; colorGreyL7: string; colorWhite: string; } | { colorPrimaryL1: string; colorPrimaryL2: string; colorPrimaryL3: string; colorSuccess: string; colorWarning: string; colorError: string; colorOrange: string; colorWeakPrimary: string; colorWeakSuccess: string; colorWeakWarning: string; colorWeakNotice: string; colorWeakError: string; colorBlackL1: string; colorBlackL2: string; colorBlackL3: string; colorBlackL4: string; colorGreyL1: string; colorGreyL2: string; colorGreyL3: string; colorGreyL4: string; colorGreyL5: string; colorGreyL6: string; colorGreyL7: string; colorWhite: string; } | { colorPrimaryL1: string; colorPrimaryL2: string; colorPrimaryL3: string; colorSuccess: string; colorWarning: string; colorError: string; colorOrange: string; colorWeakPrimary: string; colorWeakSuccess: string; colorWeakWarning: string; colorWeakNotice: string; colorWeakError: string; colorBlackL1: string; colorBlackL2: string; colorBlackL3: string; colorBlackL4: string; colorGreyL1: string; colorGreyL2: string; colorGreyL3: string; colorGreyL4: string; colorGreyL5: string; colorGreyL6: string; colorGreyL7: string; colorWhite: string; }; prefix: string; };