///
import * as React from 'react';
import { CssValue, mouse } from './common';
export declare type IButtonTheme = {
enabledColor: string;
disabledColor: string;
};
export declare const THEME: IButtonTheme;
export declare type IButtonProps = mouse.IMouseEventProps & {
children?: React.ReactNode;
label?: string;
isEnabled?: boolean;
block?: boolean;
theme?: Partial;
style?: CssValue;
};
export declare type IButtonState = {
isDown?: boolean;
};
export declare class Button extends React.PureComponent {
state: IButtonState;
private mouse;
private unmounted$;
private state$;
constructor(props: IButtonProps);
componentWillUnmount(): void;
get isEnabled(): boolean;
get theme(): import("Object/Merge").__MergeDeep, IButtonTheme, 1, import("Misc/BuiltInObject").BuiltInObject, "enabledColor" | "disabledColor">;
render(): JSX.Element;
}