export function getSchema(uiSchema: any, ctx: any): Promise<{ type: string; body: { type: string; label: string; id: string; onEvent: { click: { actions: { actionType: string; dialog: { type: string; title: string; bodyClassName: string; body: { type: string; label: string; objectApiName: string; recordId: string; id: string; mode: string; }[]; id: string; closeOnEsc: boolean; closeOnOutside: boolean; showCloseButton: boolean; data: { "&": string; _master: string; "_master._isRelated": string; "_master.relatedKey": string; }; size: string; actions: ({ type: string; actionType: string; label: string; primary?: undefined; } | { type: string; actionType: string; label: string; primary: boolean; })[]; }; }[]; weight: number; }; }; }[]; regions: string[]; className: string; id: string; }>;