///
import type { JSX } from "../tools/JSX";
import { type FormAction, type FormFieldError } from "../login/lib/useUserProfileForm";
import type { KcClsx } from "../login/lib/kcClsx";
import type { Attribute } from "../login/KcContext";
export type UserProfileFormFieldsProps = {
kcContext: Extract;
i18n: I18n;
kcClsx: KcClsx;
onIsFormSubmittableValueChange: (isFormSubmittable: boolean) => void;
doMakeUserConfirmPassword: boolean;
BeforeField?: (props: BeforeAfterFieldProps) => React.ReactElement | null;
AfterField?: (props: BeforeAfterFieldProps) => React.ReactElement | null;
};
type BeforeAfterFieldProps = {
attribute: Attribute;
dispatchFormAction: React.Dispatch;
displayableErrors: FormFieldError[];
valueOrValues: string | string[];
kcClsx: KcClsx;
i18n: I18n;
};
export {};