export function getApprovalDrawerSchema(instance: 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: () => any; body: { type: string; debug: boolean; id: string; resetAfterSubmit: boolean; clearPersistDataAfterSubmit: boolean; persistData: string; body: ({ type: string; label: boolean; name: string; value: string; options: { label: string; 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: string; 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: string; inline: boolean; wrapperComponent: string; id: string; }[]; id: string; md: string; valign: string; } | { body: (({ type: string; } & { name: string; hiddenOn: string; required: boolean; }) | { type: string; label: string; name: string; id: string; required: boolean; hiddenOn: string; amis: { multiple: string; 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; }; })[]; 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; } | { type: string; label: boolean; name: string; id: string; minRows: number; maxRows: number; placeholder: string; requiredOn: string; })[]; onEvent: { approve_judge_change: { actions: { actionType: string; componentId: string; args: {}; }[]; }; validateError: { weight: number; actions: { componentId: string; args: { msgType: string; position: string; closeButton: boolean; showIcon: boolean; title: string; msg: string; }; actionType: string; }[]; }; }; }[]; id: string; position: string; actions: ({ type: string; label: string; onEvent: { click: { actions: ({ componentId: string; args: { api?: undefined; messages?: undefined; blank?: undefined; url?: undefined; }; actionType: string; script: string; expression?: undefined; } | { componentId: string; args: { api?: undefined; messages?: undefined; blank?: undefined; url?: undefined; }; actionType: string; script: string; expression: string; } | { componentId: string; args: { api: { url: string; method: string; dataType: string; data: { "&": string; $scopeId: string; }; headers: { Authorization: string; }; requestAdaptor: string; }; messages: { success: string; }; blank?: undefined; url?: undefined; }; actionType: string; expression: string; script?: undefined; } | { componentId: string; args: { blank: boolean; url: any; api?: undefined; messages?: undefined; }; actionType: string; expression: string; script?: undefined; } | { actionType: string; expression: string; componentId?: undefined; args?: undefined; script?: undefined; })[]; }; }; id: string; level: string; } | { type: string; label: string; onEvent: { click: { actions: { componentId: string; args: {}; actionType: string; }[]; }; }; id: string; level?: undefined; })[]; }>;