import type { EntityAttribute, UdpFieldInfo } from '../domain/entityForm/entityFormModel'; /** One foreign-key field's option list, as `CrudForm` consumes it. */ export interface ForeignKeyDatum { fieldName: string; entityName: string; name: string; data: Array<{ id: unknown; name: unknown; }>; } export interface ForeignKeyResult { foreignKeyData: ForeignKeyDatum[]; /** * Referenced entities whose Get-All method is not promoted — their field has * no options to offer. Surfaced as a warning by the maintenance page and * logged by the inquiry sheet; never silently dropped. */ entitiesMissingGetAll: string[]; } /** * The entity's UdpObjectFieldInfo rows (`ObjectInfo.SanitizedName = `). * `udpFieldSearchApiId` is UdpObjectFieldInfo's own promoted search method — * without it the tenant has no field config at all, and the answer is empty. */ export declare const fetchUdpFieldInfos: (udpFieldSearchApiId: string, entityName: string) => Promise; /** * The attributes a `CrudForm` actually renders: identity bookkeeping the user * never edits is removed (LAA UNT-3026), and a UdpLookup hides its own storage * columns on top of that. */ export declare const crudFormAttributes: (entityAttributes: EntityAttribute[], entityName: string) => EntityAttribute[]; /** * Every foreign-key field's option list: one Get-All per referenced entity, * mapped to `{ id, name }` through the entity's association label (falling back * to the id, so a picker never renders a blank row). */ export declare const fetchForeignKeyData: (catalogId: string, attributes: EntityAttribute[], udpFieldSearchApiId: string) => Promise; //# sourceMappingURL=entityFormInputs.d.ts.map