Decides whether a trigger may begin at a source offset.
typedef InteractiveTextStartBoundaryPredicate = bool Function(String text, int triggerStart);