///
/**
* @license
* Copyright (C) 2016 Chi Vinh Le and contributors.
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
import * as React from "react";
import { ThemeFactory } from "./themefactory";
export declare type Decorator = (target: React.ComponentClass | React.StatelessComponent) => React.ComponentClass;
export interface ThemeAttributes {
theme?: TTheme;
}
export declare function removeThemeAttributes(attributes: ThemeAttributes): void;
export declare function withTheme>(themeFactory: ThemeFactory): Decorator;