export function getApprovalDrawerSchema(instance: any, submitEvents: any): Promise<{
    type: string;
    overlay: boolean;
    resizable: boolean;
    closeOnEsc: boolean;
    closeOnOutside: boolean;
    size: string;
    title: string;
    className: string;
    headerClassName: string;
    bodyClassName: string;
    footerClassName: string;
    drawerContainer: () => HTMLElement;
    body: {
        type: string;
        debug: boolean;
        id: string;
        resetAfterSubmit: boolean;
        clearPersistDataAfterSubmit: boolean;
        persistData: string;
        body: ({
            type: string;
            label: boolean;
            name: string;
            value: string;
            options: {
                label: any;
                value: string;
            }[];
            id: string;
            required: boolean;
            onEvent: {
                change: {
                    weight: number;
                    actions: ({
                        componentId: string;
                        args: {
                            value: {
                                new_judge: string;
                                next_step: any;
                            };
                            judge?: undefined;
                        };
                        actionType: string;
                        eventName?: undefined;
                    } | {
                        args: {
                            judge: string;
                            value?: undefined;
                        };
                        actionType: string;
                        eventName: string;
                        componentId?: undefined;
                    })[];
                };
            };
        } | {
            type: string;
            columns: ({
                body: {
                    type: string;
                    tpl: any;
                    inline: boolean;
                    wrapperComponent: string;
                    id: string;
                }[];
                id: string;
                md: string;
                valign: string;
            } | {
                body: {
                    type: string;
                    label: string;
                    name: string;
                    id: string;
                    multiple: boolean;
                    required: boolean;
                    autoFill: {
                        new_next_step: string;
                        next_users: any;
                    };
                    source: {
                        url: string;
                        headers: {
                            Authorization: string;
                        };
                        method: string;
                        messages: {};
                        requestAdaptor: string;
                        adaptor: string;
                        data: {
                            context: string;
                            $scopeId: string;
                            judge: string;
                        };
                    };
                }[];
                id: string;
                md?: undefined;
                valign?: undefined;
            })[];
            id: string;
            className: string;
            subFormMode: string;
        } | {
            type: string;
            columns: ({
                body: {
                    type: string;
                    tpl: any;
                    inline: boolean;
                    wrapperComponent: string;
                    id: string;
                }[];
                id: string;
                md: string;
                valign: string;
            } | {
                body: ({
                    type: string;
                    label: string;
                    name: string;
                    hiddenOn: string;
                    required: boolean;
                    multiple?: undefined;
                    id?: undefined;
                    source?: undefined;
                    labelField?: undefined;
                    valueField?: undefined;
                    value?: undefined;
                    joinValues?: undefined;
                    extractValue?: undefined;
                } | {
                    type: string;
                    label: string;
                    name: string;
                    hiddenOn: string;
                    required: boolean;
                    multiple: boolean;
                    id?: undefined;
                    source?: undefined;
                    labelField?: undefined;
                    valueField?: undefined;
                    value?: undefined;
                    joinValues?: undefined;
                    extractValue?: undefined;
                } | {
                    type: string;
                    label: string;
                    name: string;
                    id: string;
                    required: boolean;
                    hiddenOn: string;
                    multiple: boolean;
                    source: {
                        url: string;
                        method: string;
                        sendOn: string;
                        headers: {
                            Authorization: string;
                        };
                        messages: {};
                        requestAdaptor: string;
                        adaptor: string;
                        data: {
                            "&": string;
                            $scopeId: string;
                            context: string;
                            next_step: string;
                        };
                    };
                    labelField: string;
                    valueField: string;
                    value: string;
                    joinValues: boolean;
                    extractValue: boolean;
                })[];
                id: string;
                md?: undefined;
                valign?: undefined;
            })[];
            id: string;
            className: string;
            subFormMode: string;
            hiddenOn: string;
        } | {
            type: string;
            name: string;
            label?: undefined;
            id?: undefined;
            minRows?: undefined;
            maxRows?: undefined;
            placeholder?: undefined;
            requiredOn?: undefined;
            value?: undefined;
        } | {
            type: string;
            label: boolean;
            name: string;
            id: string;
            minRows: number;
            maxRows: number;
            placeholder: any;
            requiredOn: string;
            value: any;
        })[];
        onEvent: {
            approve_judge_change: {
                actions: {
                    actionType: string;
                    componentId: string;
                    args: {};
                }[];
            };
        };
    }[];
    id: string;
    position: string;
    actions: ({
        type: string;
        label: string;
        onEvent: {
            click: {
                actions: any[];
            };
        };
        id: string;
        level: string;
    } | {
        type: string;
        label: string;
        onEvent: {
            click: {
                actions: {
                    componentId: string;
                    args: {};
                    actionType: string;
                }[];
            };
        };
        id: string;
        level?: undefined;
    })[];
}>;
