import React from 'react';
import { WidgetProps } from '../widgets/types';
export interface WidgetAdapterProps {
    name: string;
    value?: any;
    widgetProps: WidgetProps;
    extraProps?: any;
    events: {
        change: (event: CustomEvent) => void;
    };
}
/**
 * A widget is a concept in react-jsonschema-form (rjsf).
 * It represents a HTML tag for the user to enter data, eg. input, select, etc.
 *
 * We use the widget adapter exclusively so we can use lime-elements instead of the
 * default input/select/checkbox/etc fields that rjsf provides.
 *
 * Please read the docs for more info.
 * Link: https://react-jsonschema-form.readthedocs.io/
 */
export declare class LimeElementsWidgetAdapter extends React.Component<WidgetAdapterProps> {
    props: WidgetAdapterProps;
    state: {
        modified: boolean;
    };
    constructor(props: WidgetAdapterProps);
    private hasValue;
    private handleBlur;
    private getLabel;
    private isInvalid;
    private isRequired;
    private getHelperText;
    private getValue;
    render(): React.FunctionComponentElement<React.FragmentProps>;
    private handleChange;
    private isDisabled;
    private isReadOnly;
}
//# sourceMappingURL=widget-adapter.d.ts.map