import { type FormButtonContent, type FormButtonLabelOptions } from '../../forms/buttonRole.js'; export type { FormButtonRole } from '../../forms/buttonRole.js'; export { getFormButtonRole, DEFAULT_STEP_BUTTON_LABELS, } from '../../forms/buttonRole.js'; /** * Works out what a form button does and wires it up. * * @returns `buttonProps` to spread onto a `