import React, { type ReactNode } from 'react'; export type Theme = { components: Record; }; export type ComponentTheme = { styles?: Record ComponentStyles>; config?: (props?: any) => Record; }; export type ComponentStyles = Record; export declare const defaultTheme: Theme; export declare const ThemeContext: React.Context; export type ThemeProviderProps = { readonly children: ReactNode; readonly theme: Theme; }; export declare function ThemeProvider({ children, theme }: ThemeProviderProps): React.JSX.Element; export declare const extendTheme: (originalTheme: Theme, newTheme: Theme) => { components: Record; }; export declare const useComponentTheme: (component: string) => Theme;