A callback that expands text to a collection of related Strings.
typedef TermExpander = Future<Iterable<String>> Function(String source, [String? zone]);