/**
 * Shared types for form node rendering (client and server).
 * These types represent the runtime shape of form data passed to form components.
 */
/** Form field definition from schema */
export type FormFieldDef = {
    id: string;
    label?: string;
    type?: string;
    required?: boolean;
    placeholder?: string;
    helpText?: string;
    layout?: {
        width?: 'full' | 'half';
    };
    rows?: number;
    options?: Array<{
        value: string;
        label: string;
    }>;
    multiple?: boolean;
    minLength?: number;
    maxLength?: number;
    pattern?: string;
    min?: number;
    max?: number;
};
/** Form record with schema */
export type FormRecord = {
    id: string;
    schemaJson?: {
        fields?: FormFieldDef[];
    };
};
