import { FormSchemaConfig } from './types'; /** * 标准表单Schema Hook * * 提供便捷的Schema创建和管理功能 */ export declare const useStandardFormSchema: (formId: string, businessSchema: Record, formConfig?: Record) => FormSchemaConfig; /** * 创建标准Grid Schema的工具函数 */ export declare const createGridSchema: (properties: Record, maxColumns?: number, strictAutoFit?: boolean) => Record; /** * 创建表单字段的工具函数 */ export declare const createFormField: (title: string, component?: string, options?: { type?: string | undefined; required?: boolean | undefined; placeholder?: string | undefined; maxLength?: number | undefined; rows?: number | undefined; gridSpan?: number | undefined; componentProps?: Record | undefined; decoratorProps?: Record | undefined; } | undefined) => any; /** * 创建选择字段的工具函数 */ export declare const createSelectField: (title: string, options: Array<{ label: string; value: any; }>, fieldOptions?: { required?: boolean | undefined; placeholder?: string | undefined; gridSpan?: number | undefined; mode?: "multiple" | "tags" | undefined; } | undefined) => any; /** * 快速创建常用字段的工具函数集合 */ export declare const FieldCreators: { /** * 创建输入框字段 */ input: (title: string, required?: boolean, gridSpan?: number) => any; /** * 创建文本域字段 */ textarea: (title: string, rows?: number, gridSpan?: number) => any; /** * 创建数字输入框字段 */ number: (title: string, required?: boolean, gridSpan?: number) => any; /** * 创建选择框字段 */ select: (title: string, options: Array<{ label: string; value: any; }>, required?: boolean) => any; /** * 创建日期字段 */ date: (title: string, required?: boolean, gridSpan?: number) => any; /** * 创建日期时间字段 */ datetime: (title: string, required?: boolean, gridSpan?: number) => any; };