/** * The enum field renderer. A short enum (up to {@link RADIO_MAX_OPTIONS} * options) renders as a radio group; a longer one renders as a select. Options * are keyed by index so a non-string enum value round-trips through the string * control. */ import type { ReactNode } from 'react'; import type { FieldModel } from './field-model'; export declare function EnumField({ heading, description, error, model, value, onChange, }: { heading: string; description: string | undefined; error: string | undefined; model: Extract; value: unknown; onChange: (value: unknown) => void; }): ReactNode; //# sourceMappingURL=enum-field.d.ts.map