Export ReferencePathMatchResult to fix 'error TS4060: Return type of exported function has or is using private name'