export function getSchema(uiSchema: any, ctx: any): Promise<{
    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;
}>;
