import React from 'react';
import { BuilderElement } from '@builder.io/sdk';
export interface FormProps {
    attributes?: any;
    name?: string;
    action?: string;
    validate?: boolean;
    method?: string;
    builderBlock?: BuilderElement;
    sendSubmissionsTo?: string;
    sendWithJs?: boolean;
    contentType?: string;
    customHeaders?: {
        [key: string]: string;
    };
    successUrl?: string;
    previewState?: string;
    successMessage?: BuilderElement[];
    errorMessage?: BuilderElement[];
    sendingMessage?: BuilderElement[];
    resetFormOnSubmit?: boolean;
    errorMessagePath?: string;
}
export declare class Form extends React.Component<FormProps> {
    ref: HTMLFormElement | null;
    state: {
        state: "error" | "unsubmitted" | "sending" | "success";
        respnoseData: any;
        formErrorMessage: string;
    };
    get submissionState(): string;
    render(): JSX.Element;
}
