import { xy } from '@synnaxlabs/x'; import { FC, ReactNode } from 'react'; import { Theming } from '../../theming'; export interface FormProps { /** actions render in the right corner of the form's tab strip. */ actions?: ReactNode; schematicKey?: string; } export type NodeProps = { nodeKey: string; selected: boolean; onConfigChange: (data: Partial) => void; config: Config; position?: xy.XY; draggable?: boolean; }; export type PreviewProps

= P & { scale?: number; }; export type Node = FC>; export interface Spec { key: Variant; name: string; Form: FC; Node: Node; defaultConfig: (t: Theming.Theme) => Config; Preview: FC>; zIndex: number; needsPosition?: boolean; } //# sourceMappingURL=spec.d.ts.map