export function getFlowFormSchema(instance: any, box: any): Promise<{ type: string; name: string; className: string; bodyClassName: string; title: { type: string; label: string; objectApiName: string; recordId: any; id: string; showRecordTitle: boolean; className: string; }; css: { ".instance-approve-history .antd-Table-table thead": { display: string; }; ".instance-approve-history .antd-Table-heading": { "font-size": string; "font-weight": string; "padding-left": string; }; ".antd-List-heading": { "font-size": string; "font-weight": string; }; }; body: ({ type: string; className: string; headerClassName: string; bodyClassName: string; title: ({ type: string; tpl: string; title?: undefined; body?: undefined; id?: undefined; wrapWithPanel?: undefined; } | { type: string; title: string; body: { type: string; labelClassName: string; className: string; label: string; mode: string; name: string; id: string; btnLabel: string; btnClassName: string; multiple: boolean; maxLength: number; submitType: string; uploadType: string; proxy: boolean; drag: boolean; autoUpload: boolean; useChunk: boolean; joinValues: boolean; extractValue: boolean; valueField: string; receiver: { url: string; headers: { Authorization: string; }; method: string; messages: {}; dataType: string; requestAdaptor: string; }; onEvent: { success: { weight: number; actions: ({ componentId: string; args: { msgType?: undefined; position?: undefined; closeButton?: undefined; showIcon?: undefined; msg?: undefined; }; actionType: string; } | { componentId: string; args: { msgType: string; position: string; closeButton: boolean; showIcon: boolean; msg: string; }; actionType: string; })[]; }; }; }[]; id: string; wrapWithPanel: boolean; tpl?: undefined; })[]; body: { type: string; id: string; api: { method: string; url: string; dataType: string; headers: { Authorization: string; }; requestAdaptor: string; }; body: { type: string; source: string; title: boolean; listItem: { body: { type: string; inline: boolean; tpl: string; }[]; actions: { icon: string; type: string; id: string; }[]; id: string; }; id: string; }[]; }[]; } | { type: string; tpl: string; }[] | { type: string; name: string; source: string; title: string; listItem: { body: { type: string; inline: boolean; tpl: string; }[]; actions: { icon: string; type: string; id: string; }[]; id: string; }; id: string; } | { type: string; headerClassName: string; title: string; source: string; className: string; columnsTogglable: boolean; footable: { expand: string; }; columns: ({ name: string; label: string; type?: undefined; tpl?: undefined; classNameExpr?: undefined; } | { name: string; label: string; type: string; tpl: string; classNameExpr?: undefined; } | { name: string; label: string; classNameExpr: string; type?: undefined; tpl?: undefined; })[]; } | { type: string; label: string; onEvent: { click: { actions: { componentId: string; args: {}; actionType: string; drawer: { 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; })[]; }; }[]; }; }; id: string; level: string; className: string; } | { type: string; debug: boolean; wrapWithPanel: boolean; resetAfterSubmit: boolean; body: ({ type: string; className: string; trs: { background: string; tds: ({ background: string; colspan: number; align: string; className: string; width: string; body: { label: any; name: any; mode: string; className: string; }[]; style: { marginTop: string; paddingTop: string; paddingRight: string; paddingBottom: string; paddingLeft: string; marginRight: string; marginBottom: string; marginLeft: string; borderLeftColor: string; borderTopColor: string; borderRightColor: string; borderBottomColor: string; }; } | { className: string; align: string; width: string; colspan: string | number; background: string; body: { type: string; tpl: string; }[]; style: { borderLeftColor: string; borderTopColor: string; borderRightColor: string; borderBottomColor: string; }; })[]; }[]; id: string; } | { type: string; className: string; trs: { background: string; tds: ({ className: string; background: string; align: string; width: string; colspan: string; body: { type: string; tpl: string; id: string; }[]; id: string; style: { padding: string; }; } | { background: string; colspan: number; align: string; className: string; width: string; body: any[]; id: string; style?: undefined; })[]; }[]; id: string; style: { borderLeftStyle: string; borderTopStyle: string; borderRightStyle: string; borderBottomStyle: string; }; } | { type: string; id: string; tpl: string; inline: boolean; wrapperComponent: string; style: { fontFamily: string; fontSize: number; textAlign: string; }; })[]; id: string; onEvent: { validateError: { weight: number; actions: { componentId: string; args: { msgType: string; position: string; closeButton: boolean; showIcon: boolean; title: string; msg: string; }; actionType: string; }[]; }; }; })[]; id: string; messages: {}; pullRefresh: {}; regions: string[]; onEvent: { "@data.@instanceDetail.changed": { actions: { actionType: string; }[]; }; }; initApi: { url: string; method: string; headers: { Authorization: string; }; messages: {}; requestAdaptor: string; adaptor: string; data: { judge: string; }; }; initFetch: boolean; }>;