import { FormElementStructure, FormHook, FormHookInterface } from "../../features/form-hook/index";
import { GeneralFormLocal, LanguageKeys, MultiLingual } from "../../features/multi-lingual/index";
export declare class TestDriveForm implements FormHookInterface<any>, MultiLingual {
    language: LanguageKeys;
    locale: GeneralFormLocal;
    changeLanguage(newLanguage: LanguageKeys): Promise<void>;
    errorMessage: string;
    isLoading: boolean;
    localeLanguage: LanguageKeys;
    gistId?: string;
    extraHeader: object;
    extraPayload: object;
    structureUrl?: string;
    loadingChanges: (loading: boolean) => void;
    errorCallback: (error: any, message: string) => Promise<void | boolean>;
    successCallback: (data: any, message?: string) => Promise<void | boolean>;
    stepChangeCallback?: (step: number, currentForm?: any) => void;
    structure: FormElementStructure<any> | undefined;
    fields?: object;
    el: HTMLElement;
    setIsLoading(isLoading: boolean): void;
    setErrorCallback(error: any): void;
    setSuccessCallback(data: any): void;
    componentWillLoad(): Promise<void>;
    formSubmit(formValues: any): Promise<void>;
    componentDidLoad(): Promise<void>;
    getForm(): Promise<FormHook<any>>;
    submit(): Promise<void>;
    structureRendered: boolean;
    formReadyCallback?: () => void;
    structureChanged(isRendered: boolean): Promise<void>;
    theme?: string;
    formId?: string;
    isDev?: boolean;
    disableScrollToTop?: boolean;
    isMobileForm: boolean;
    getMobileToken?: () => string;
    form: FormHook<any>;
    render(): any;
}
