import React from 'react';
import { ThemeSheet } from 'aesthetic';
import { WithThemeOptions, WithThemeWrappedProps, WithThemeWrapperProps } from './types';
/**
 * Wrap a React component with an HOC that injects the current theme object as a prop.
 */
export default function withTheme<Theme = ThemeSheet>(options?: WithThemeOptions): <Props extends object = {}>(WrappedComponent: React.ComponentType<Props & WithThemeWrappedProps<Theme>>) => React.FunctionComponent<Props & WithThemeWrapperProps>;
//# sourceMappingURL=withTheme.d.ts.map