export default class InputWithDefaultValueButtonWidget extends React.Component<any, any, any> {
    static contextType: React.Context<import("../../ReactContext").ContextProps>;
    static propTypes: {
        uiSchema: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
            "ui:options": PropTypes.Validator<NonNullable<PropTypes.InferProps<{
                buttonLabel: PropTypes.Validator<string>;
                buttonVariant: PropTypes.Requireable<string>;
                contextFieldForDefaultValue: PropTypes.Requireable<string>;
                apiQueryForDefaultValue: PropTypes.Requireable<PropTypes.InferProps<{
                    path: PropTypes.Validator<string>;
                    query: PropTypes.Requireable<object>;
                    resultKey: PropTypes.Requireable<string>;
                    cache: PropTypes.Requireable<boolean>;
                }>>;
                disableButtonAfterUse: PropTypes.Requireable<boolean>;
                confirmClick: PropTypes.Requireable<boolean>;
                confirmMessage: PropTypes.Requireable<string>;
                onClick: PropTypes.Requireable<(...args: any[]) => any>;
            }>>>;
        }>>>;
        schema: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
            type: PropTypes.Requireable<string>;
        }>>>;
        value: PropTypes.Requireable<string>;
    };
    constructor(props: any);
    fetching: boolean;
    disabled: boolean;
    state: {
        fetching: boolean;
        disabled: boolean;
    };
    render(): JSX.Element;
    onClick: () => any;
    changeValue: (value: any) => void;
}
import * as React from "react";
import * as PropTypes from "prop-types";
