import * as prop_types from 'prop-types'; import React from 'react'; /** This component provides a theme to all React components underneath itself via the context API. */ declare function ThemeProvider({ children, ...rest }: { [x: string]: any; children: any; }): JSX.Element; declare namespace ThemeProvider { namespace propTypes { const children: prop_types.Validator; } } declare const _default$1: React.ForwardRefExoticComponent<{ [x: string]: React.JSX.LibraryManagedAttributes>; [x: number]: React.JSX.LibraryManagedAttributes>; [x: symbol]: React.JSX.LibraryManagedAttributes>; } & { theme?: any; }>; declare function _default(props: any): any; export { ThemeProvider as T, _default$1 as _, _default as a };