def METHOD_NAME(fname, evoked, fmt="auto", *, overwrite=False, verbose=None):
    """Export evoked dataset to external formats.
    This function is a wrapper for format-specific export functions. The export
    function is selected based on the inferred file format. For additional
    options, use the format-specific functions.
    %(export_fmt_support_evoked)s
    %(export_warning)s
    Parameters
    ----------
    %(fname_export_params)s
    evoked : Evoked instance, or list of Evoked instances
        The evoked dataset, or list of evoked datasets, to export to one file.
        Note that the measurement info from the first evoked instance is used,
        so be sure that information matches.
    %(export_fmt_params_evoked)s
    %(overwrite)s
        .. versionadded:: 0.24.1
    %(verbose)s
    See Also
    --------
    mne.write_evokeds
    mne.export.export_evokeds_mff
    Notes
    -----
    .. versionadded:: 0.24
    %(export_warning_note_evoked)s
    """
    fname = str(_check_fname(fname, overwrite=overwrite))
    supported_export_formats = {
        "mff": ("mff",),
    }
    fmt = _infer_check_export_fmt(fmt, fname, supported_export_formats)
    if not isinstance(evoked, list):
        evoked = [evoked]
    logger.info(f"Exporting evoked dataset to {fname}...")
    if fmt == "mff":
        export_evokeds_mff(fname, evoked, overwrite=overwrite)