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<string | number | boolean | prop_types.ReactElementLike | prop_types.ReactNodeArray>;
    }
}

declare const _default$1: React.ForwardRefExoticComponent<{
    [x: string]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
    [x: number]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
    [x: symbol]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
} & {
    theme?: any;
}>;

declare function _default(props: any): any;

export { ThemeProvider as T, _default$1 as _, _default as a };
