import * as React from "react";
import { Omit } from "./types";
import { ScopeContext } from "./ScopeContext";
export declare type ClearButtonProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "disabled"> & {
    disabledOnError?: boolean | string[];
    disabledUntilChanged?: boolean | string[];
    disabled?: boolean | {
        (scope: ScopeContext): boolean;
    };
};
export declare class ClearButton extends React.PureComponent<ClearButtonProps> {
    static defaultProps: Partial<ClearButtonProps>;
    /**
     * Handle the button click.
     */
    private handleClick;
    /**
     * Render the button.
     */
    render(): JSX.Element;
}
