import { FunctionComponent, ComponentClass } from 'react';
import { LazyActive } from '@easy-coder/sdk/helper';

export interface RenderExtra<T extends Record<string, any>> {
    type: 'editor' | 'element';
    id: string;
    renderProps: T;
    Render: FunctionComponent<T> | ComponentClass<T>;
}
export interface RenderContext {
    extra: LazyActive<RenderExtra<any>[]>;
}
export declare const renderContext: import('react').Context<RenderContext>;
