export function getSchema(uiSchema: any): {
    type: string;
    body: {
        type: string;
        label: string;
        id: string;
        onEvent: {
            click: {
                actions: {
                    actionType: string;
                    dialog: {
                        data: {
                            "&": string;
                            object_name: string;
                        };
                        type: string;
                        title: string;
                        body: {
                            type: string;
                            label: string;
                            objectApiName: string;
                            recordId: string;
                            mode: string;
                            layout: string;
                            defaultData: {
                                object_name: string;
                            };
                            fieldsExtend: {
                                object_name: {
                                    amis: {
                                        hidden: boolean;
                                    };
                                };
                            };
                            form: {
                                debug: boolean;
                                resetAfterSubmit: boolean;
                                data: {
                                    editFormInited: boolean;
                                };
                                initApi: {
                                    method: string;
                                    url: string;
                                    sendOn: string;
                                    data: any;
                                    requestAdaptor: string;
                                    adaptor: string;
                                    responseData: {
                                        importState: string;
                                    };
                                };
                                interval: number;
                                stopAutoRefreshWhen: string;
                                initFetch: boolean;
                                onEvent: {
                                    inited: {
                                        weight: number;
                                        actions: ({
                                            actionType: string;
                                            args: {
                                                eventName: string;
                                            };
                                            data: {
                                                objectName: string;
                                                displayAs: string;
                                                recordId: string;
                                            };
                                            expression: string;
                                        } | {
                                            actionType: string;
                                            expression: string;
                                            args?: undefined;
                                            data?: undefined;
                                        })[];
                                    };
                                    submitSucc: {
                                        weight: number;
                                        actions: {
                                            args: {
                                                api: {
                                                    url: string;
                                                    method: string;
                                                    data: {
                                                        eventData: string;
                                                    };
                                                    dataType: string;
                                                    requestAdaptor: string;
                                                    adaptor: string;
                                                    headers: {
                                                        Authorization: string;
                                                    };
                                                };
                                                messages: {
                                                    success: string;
                                                    failed: string;
                                                };
                                            };
                                            actionType: string;
                                            expression: string;
                                        }[];
                                    };
                                };
                                closeDialogOnSubmit: boolean;
                            };
                        }[];
                        id: string;
                        closeOnEsc: boolean;
                        closeOnOutside: boolean;
                        showCloseButton: boolean;
                        size: string;
                    };
                }[];
                weight: number;
            };
        };
        level: string;
    }[];
    regions: string[];
    className: string;
    id: string;
};
