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