import React from 'react';
import { TwForm } from 'src/install';
export default class FormDialogTest extends React.Component<any, any> {
    formRef: React.RefObject<TwForm>;
    state: {
        visible: boolean;
        dialogMode: string;
    };
    fields: ({
        name: string;
        label: string;
        twview: string;
        required: boolean;
        input?: undefined;
    } | {
        name: string;
        label: string;
        twview: string;
        input: {
            type: string;
        };
        required?: undefined;
    } | {
        name: string;
        label: string;
        twview: string;
        required?: undefined;
        input?: undefined;
    })[];
    handleOpenDialog: () => void;
    handleCloseDialog: () => void;
    handleSubmit: () => void;
    handleSwitchMode: () => void;
    render(): React.JSX.Element;
}
