import { Component } from 'react';
import { SimpleFormProps } from './Props';
declare class Form<Value> extends Component<SimpleFormProps<Value>> {
    static defaultProps: SimpleFormProps<any>;
    locked: boolean;
    id: string;
    element: HTMLFormElement;
    validating: boolean;
    form: {
        getValue: () => Value;
        validate: () => Promise<unknown>;
        validateFields: (fields: string[]) => Promise<unknown>;
        validateFieldsWithError: (fields: string[]) => Promise<unknown>;
        clearValidate: () => void;
        submit: (withValidate: boolean) => void;
        reset: () => void;
    };
    constructor(props: SimpleFormProps<Value>);
    componentDidMount(): void;
    componentDidUpdate(prevProps: SimpleFormProps<Value>): void;
    componentWillUnmount(): void;
    setStatus(): void;
    bindElement(el: HTMLFormElement): void;
    scrollToError(err: Error): void;
    handleSubmit(e?: Event): void;
    handleReset(): void;
    render(): JSX.Element;
}
export default Form;
