/** * An unfortunately very convoluted way to expose some custom react components * in the face of federated modules */ import { FormProps, Field, Widget } from '@rjsf/core'; import React from 'react'; export declare type TComponentFactory = (props: Record) => JSX.Element; export declare type TComponentMap = Record; /** * a subset of an RJSF `widgets` prop */ export declare const CUSTOM_UI_WIDGETS: () => Promise['widgets']>; /** * a subset of an RJSF `fields` prop */ export declare const CUSTOM_UI_FIELDS: () => Promise['fields']>; /** * a subset of an RJSF props with all custom elements available */ export declare const ALL_CUSTOM_UI: () => Promise>>; /** * janky lazy references to Field classes */ export declare const CodeMirrorField: () => Promise; export declare const MarkdownField: () => Promise; export declare const XMLField: () => Promise; export declare const JSONObjectField: () => Promise; /** * the RJSF uiSchema for activating these components */ export declare const AS_JSONOBJECT: { 'ui:field': string; }; export declare const AS_TEXTAREA: { 'ui:widget': string; }; export declare const AS_XML: { 'ui:widget': string; }; export declare const AS_MARKDOWN: { 'ui:widget': string; };