export namespace StandardButtons {
    function getStandardNew(uiSchema: any, ctx: any): Promise<{
        type: string;
        amis_schema: {
            type: string;
            body: {
                type: string;
                level: string;
                label: string;
                id: string;
                onEvent: {
                    click: {
                        weight: number;
                        actions: ({
                            actionType: string;
                            script: string;
                            outputVar?: undefined;
                            args?: undefined;
                            expression?: undefined;
                            dialog?: undefined;
                        } | {
                            actionType: string;
                            outputVar: string;
                            args: {
                                api: {
                                    url: string;
                                    method: string;
                                };
                            };
                            expression: string;
                            script?: undefined;
                            dialog?: undefined;
                        } | {
                            actionType: string;
                            dialog: {
                                type: string;
                                data: {
                                    $master: string;
                                    _master: string;
                                    "_master._isRelated": string;
                                    "_master.relatedKey": string;
                                    appId: string;
                                    objectName: string;
                                    context: string;
                                    global: string;
                                    listViewId: string;
                                    displayAs: string;
                                    uiSchema: string;
                                    isLookup: string;
                                    listName: string;
                                    selectedRowResponseResult: string;
                                    _lookupObjectName: string;
                                };
                                title: string;
                                body: {
                                    type: string;
                                    id: string;
                                    messages: {};
                                    schemaApi: {
                                        data: {
                                            isLookup: string;
                                            _master: string;
                                            url: string;
                                            selectedRowResponseResult: string;
                                        };
                                        url: string;
                                        method: string;
                                        messages: {};
                                        headers: {
                                            Authorization: string;
                                        };
                                        requestAdaptor: string;
                                        adaptor: string;
                                    };
                                }[];
                                showCloseButton: boolean;
                                id: string;
                                closeOnEsc: boolean;
                                closeOnOutside: boolean;
                                size: string;
                                actions: ({
                                    type: string;
                                    actionType: string;
                                    label: string;
                                    className: string;
                                    close?: undefined;
                                    id?: undefined;
                                    onEvent?: undefined;
                                    primary?: undefined;
                                } | {
                                    type: string;
                                    label: string;
                                    actionType: string;
                                    close: boolean;
                                    id: string;
                                    className: string;
                                    onEvent: {
                                        click: {
                                            actions: {
                                                actionType: string;
                                                componentId: string;
                                                args: {
                                                    value: {
                                                        __saveAndNewRecord: boolean;
                                                    };
                                                };
                                            }[];
                                        };
                                    };
                                    primary?: undefined;
                                } | {
                                    type: string;
                                    actionType: string;
                                    label: string;
                                    primary: boolean;
                                    className: string;
                                    close?: undefined;
                                    id?: undefined;
                                    onEvent?: undefined;
                                })[];
                            };
                            script?: undefined;
                            outputVar?: undefined;
                            args?: undefined;
                            expression?: undefined;
                        })[];
                    };
                };
            }[];
            regions: string[];
            className: string;
            id: string;
        };
    }>;
    function getStandardEdit(uiSchema: any, ctx: any): Promise<{
        type: string;
        amis_schema: {
            type: string;
            body: {
                type: string;
                label: string;
                id: string;
                onEvent: {
                    click: {
                        actions: {
                            actionType: string;
                            dialog: {
                                type: string;
                                title: string;
                                bodyClassName: string;
                                body: {
                                    type: string;
                                    label: string;
                                    objectApiName: string;
                                    recordId: string;
                                    id: string;
                                    mode: string;
                                }[];
                                id: string;
                                closeOnEsc: boolean;
                                closeOnOutside: boolean;
                                showCloseButton: boolean;
                                data: {
                                    "&": string;
                                    _master: string;
                                    "_master._isRelated": string;
                                    "_master.relatedKey": string;
                                    _lookupObjectName: string;
                                };
                                size: string;
                                actions: ({
                                    type: string;
                                    actionType: string;
                                    label: string;
                                    primary?: undefined;
                                } | {
                                    type: string;
                                    actionType: string;
                                    label: string;
                                    primary: boolean;
                                })[];
                            };
                        }[];
                        weight: number;
                    };
                };
            }[];
            regions: string[];
            className: string;
            id: string;
        };
    }>;
    function getStandardDelete(uiSchema: any, ctx: any): Promise<{
        type: string;
        amis_schema: {
            type: string;
            className: string;
            body: {
                type: string;
                label: string;
                confirmText: string;
                onEvent: {
                    click: {
                        actions: ({
                            args: {
                                api: {
                                    method: string;
                                    url: string;
                                    data: {
                                        "&": string;
                                        recordId: string;
                                        objectName: string;
                                    };
                                    requestAdaptor: string;
                                    headers: {
                                        Authorization: string;
                                    };
                                    adaptor: string;
                                };
                                eventName?: undefined;
                            };
                            actionType: string;
                            script?: undefined;
                            data?: undefined;
                            expression?: undefined;
                        } | {
                            actionType: string;
                            script: string;
                            args?: undefined;
                            data?: undefined;
                            expression?: undefined;
                        } | {
                            actionType: string;
                            args: {
                                eventName: string;
                                api?: undefined;
                            };
                            data: {
                                objectName: string;
                                __deletedRecord: boolean;
                                _inDrawer: string;
                                _isRelated?: undefined;
                            };
                            script?: undefined;
                            expression?: undefined;
                        } | {
                            actionType: string;
                            args: {
                                eventName: string;
                                api?: undefined;
                            };
                            data: {
                                objectName: string;
                                _isRelated: string;
                                __deletedRecord?: undefined;
                                _inDrawer?: undefined;
                            };
                            expression: string;
                            script?: undefined;
                        } | {
                            actionType: string;
                            args: {
                                eventName: string;
                                api?: undefined;
                            };
                            data: {
                                objectName: string;
                                __deletedRecord?: undefined;
                                _inDrawer?: undefined;
                                _isRelated?: undefined;
                            };
                            expression: string;
                            script?: undefined;
                        })[];
                    };
                };
            }[];
            regions: string[];
        };
    }>;
    function getStandardDeleteMany(uiSchema: any, ctx: any): Promise<{
        type: string;
        todo: () => void;
    }>;
    function getStandardImportData(uiSchema: any, ctx: any): Promise<{
        type: string;
        amis_schema: {
            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;
        };
    }>;
    function getStandardOpenView(uiSchema: any, ctx: any): Promise<{
        type: string;
        amis_schema: {
            type: string;
            className: string;
            body: {
                type: string;
                label: string;
                className: string;
                onEvent: {
                    click: {
                        actions: {
                            componentId: string;
                            args: {
                                blank: boolean;
                                url: string;
                            };
                            actionType: string;
                        }[];
                    };
                };
                id: string;
            }[];
            regions: string[];
        };
    }>;
    function getStandardExportExcel(uiSchema: any, ctx: any): Promise<{
        type: string;
        amis_schema: {
            type: string;
            body: {
                type: string;
                label: string;
                id: string;
                level: string;
                disabledTip: string;
                onEvent: {
                    click: {
                        weight: number;
                        actions: ({
                            componentId: string;
                            actionType: string;
                            args?: undefined;
                        } | {
                            args: {
                                api: {
                                    url: string;
                                    method: string;
                                    messages: {};
                                    requestAdaptor: string;
                                    data: {
                                        uiSchema: string;
                                        listName: string;
                                    };
                                    headers: {
                                        Authorization: string;
                                    };
                                };
                            };
                            actionType: string;
                            componentId?: undefined;
                        })[];
                    };
                };
            }[];
        };
    }>;
}
