function getFbsResult(input: FbtResolvedPayload): mixed {
  return new FbtPureStringResult(input.contents, input.errorListener);
}
This factory function lives in standalone and not hanging off of
FbtPureStringResult because our libdef definitions are a little
convoluted right now.