import type { Field, FieldType } from '../types/widget-schema';
import { type Constructor } from '../types/engine';
export declare const defineMetaProperty: (constructor: Constructor<unknown>, key: string, value: unknown) => void;
export declare const getFieldTypeName: (type: unknown) => FieldType;
export declare const mergeFields: (fields1?: Field[], fields2?: Field[]) => Field[];
export declare const getFieldInitialValue: (type: FieldType) => unknown;
export declare const getInitialStateFromFields: (fields: Field[]) => Record<string, unknown>;
export declare const buildInitialState: (fields: Field[], getInitialState?: () => Record<string, unknown>) => Record<string, unknown>;
export declare const isEditor: () => boolean;
