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