• Convert a Map of Model.Message data objects into a Fluent.Resource.

    Parameters

    • resource: FluentMessageResourceData
    • Optionaloptions: { functionMap?: Record<string, string>; template?: Resource }
      • OptionalfunctionMap?: Record<string, string>

        A mapping of custom MessageFormat 2 → Fluent function names.

      • Optionaltemplate?: Resource

        If set, defines the resource-level comments, message order, and the default variant identifiers for messages.

    Returns Resource