import * as React from 'react';
import { GlamorValue } from '../common';
export declare type IMainProps = {
    style?: GlamorValue;
};
export declare type IMainState = {
    count?: number;
    foo?: JSX.Element;
};
export declare class Main extends React.PureComponent<IMainProps, IMainState> {
    state: IMainState;
    private state$;
    private unmounted$;
    constructor(props: IMainProps);
    componentWillUnmount(): void;
    readonly count: number;
    render(): JSX.Element;
    private handleClick;
}
