import { TFunction } from 'i18next'; import { SelectItem } from 'tycho-storybook/dist/SelectField/SelectField'; import { AppFormField } from '../common/AppForm/AppFormField'; declare const FormUtils: { convertEnum: (values: Record, t?: TFunction, prefix?: string) => SelectItem[]; convertList: (values: any, labelAttr: string, valueAttr: string) => SelectItem[]; convertStringArray: (values: string[]) => SelectItem[]; booleanOptions: (t: TFunction) => SelectItem[]; convertMap: (values: Record | undefined) => SelectItem[]; sortByLabel: (items: SelectItem[]) => SelectItem[]; filterFieldsByUserRole: (fields: AppFormField[], hasRole: (role: string) => boolean) => AppFormField[]; }; export default FormUtils;