import { ISchema } from '@formily/react-schema-renderer'; export declare type SupportedProps = { [key in string]: T; }; export declare type SchemaEditorExtension = (context: IExtensionContext) => ISchemaEditorExtension; export interface IExtensionConfig { type: string; 'x-component'?: string; isRoot?: boolean; isLeaf?: boolean; title?: string; extensionKey?: string; defaultProps?: {}; getSchema?: (schema?: ISchema) => {}; } export interface IExtensionContext { locale?: { [name: string]: any; }; } export interface ISchemaEditorExtension { type: string; 'x-component'?: string; isRoot?: boolean; isLeaf?: boolean; title?: string; configs: { defaultProps?: {}; schema?: ISchema; }; }