import React from 'react'; import { Engine, IResource, IBehavior } from '@inbiz/core'; export interface IDesignerLayoutProps { prefixCls?: string; theme?: 'dark' | 'light' | (string & {}); variables?: Record; position?: 'fixed' | 'absolute' | 'relative'; } export interface IDesignerProps extends IDesignerLayoutProps { engine: Engine; } export interface IDesignerComponents { [key: string]: DnFC | DnComponent; } export interface IDesignerLayoutContext { theme?: 'dark' | 'light' | (string & {}); prefixCls: string; position: 'fixed' | 'absolute' | 'relative'; } export interface IWorkspaceContext { id: string; title?: string; description?: string; } export declare type DnFC

= React.FC

& { Resource?: IResource[]; Behavior?: IBehavior[]; }; export declare type DnComponent

= React.ComponentType

& { Resource?: IResource[]; Behavior?: IBehavior[]; };