import type { FormAction } from './action'; import type { CommonOptions, StyleType } from './common'; import type { AnyObject, Fn } from './global'; import type { ComponentType } from '@zdzz/schema-form/components'; export interface CommonProps { disabled: boolean; style: StyleType; } export type WithOption = Partial & CommonOptions; type RecordFn = Record; export type CreateEmitType = { [K in keyof T as `on${Capitalize}`]?: T[K] | ((...args: Parameters) => void); }; export type CreateComponentProps = Partial & CommonProps>; export interface AssembleComponent { component: CompName; componentProps?: CreateComponentProps | ((formModel: FormModel, formAction: FormAction) => CreateComponentProps); } export {};