import type { $ZodObject, $ZodIntersection } from 'zod/v4/core'; import type { FormField, FormProcessorContext, ProcessParams } from '../types.js'; /** * Process `z.object()` — renders as a `Fieldset` with each shape key as a child field. * Recursively processes all shape entries via `ctx.processChild`. * * @param schema - The `$ZodObject` schema whose shape defines the child fields. * @param ctx - The walker context providing child processing. * @param field - The base FormField to mutate in-place. * @param params - Parent path metadata for constructing nested field keys. * * @remarks * The fieldset label is inferred from `params.parentKey` or `field.key` via `inferLabel`. * Schema-level metadata (title, description) can override the inferred label via `resolveMetadata`. * * @category Processors */ export declare function processObject(schema: $ZodObject, ctx: FormProcessorContext, field: FormField, params: ProcessParams): void; /** * Process `z.intersection()` — renders as a `Fieldset` that merges the left and right shape entries. * Both the left and right schemas must be `z.object()` types for their shapes to be merged. * Non-object intersection members are silently skipped. * * @param schema - The `$ZodIntersection` schema whose left/right shapes are merged. * @param ctx - The walker context providing child processing. * @param field - The base FormField to mutate in-place. * @param params - Parent path metadata for constructing nested field keys. * * @category Processors */ export declare function processIntersection(schema: $ZodIntersection, ctx: FormProcessorContext, field: FormField, params: ProcessParams): void; //# sourceMappingURL=object.d.ts.map