import * as React from "react"; import { GenerateThemeInput } from "../../foundations/foundation-types"; export interface ProviderProps extends GenerateThemeInput { linkComponent?: React.ReactNode; children?: React.ReactNode; rootComponent?: HTMLElement; } export declare const LinkContext: React.Context; export declare const RootContext: React.Context; /** * The Provider is an extension of the `Theme` component that allows for custom links to be passed in as well as setting the color mode. * * The `Provider` component lets you specify custom `LinkComponent` attributes and whether the child components are either light or dark mode. It should be used when you do not just want to return an anchor tags when using Link components, such as use with `ReactRouter`. */ declare class Provider extends React.PureComponent { render(): React.ReactNode; } export default Provider; export declare const withRootContextProvider: (WrappedComponent: any) => (props: any) => JSX.Element;