import * as React from "react";
import { CapitanoTheme } from "./index";
export declare const emotionContextChannel = "__EMOTION_THEMING__";
export declare const emotionContextTypes: {
    [emotionContextChannel]: import("prop-types").Validator<object>;
};
declare type Props = {
    children?: (theme: CapitanoTheme) => React.ReactNode;
};
declare type EmotionSubscribe = (callback: (theme: CapitanoTheme) => void) => number;
declare type EmotionContext = {
    subscribe: EmotionSubscribe;
    unsubscribe: (subId: number) => void;
};
export declare class EmotionThemeConsumer extends React.Component {
    static contextTypes: {
        [emotionContextChannel]: import("prop-types").Validator<object>;
    };
    unsubscribeId: number;
    context: {
        [emotionContextChannel]: EmotionContext | undefined;
    };
    state: {
        theme?: CapitanoTheme;
    };
    props: Props;
    componentDidMount(): void;
    componentWillUnmount(): void;
    render(): {} | null | undefined;
}
export {};
//# sourceMappingURL=EmotionThemeConsumer.d.ts.map