import { FieldDescriptor, FormDefinition } from './types.js'; /** * Resolve the fields a consumer of `form` should DISPLAY. Views are * client-side projections only — data and server validation always cover the * full form. * * - No `view` → every field, sorted by `order` (the full form). * - A known view → only its fields, in the order the view lists them. * - An unknown view → `null`; the caller decides the fallback ( * warns and shows the full form). */ export declare function resolveViewFields(form: FormDefinition, view?: string): FieldDescriptor[] | null;