title: How can I type check ReactNavigation's navigation using NavigationHelpersCommon?
body: <p>I am new to the typescript screen, so the answer may be an obvious one. I am passing ReactNavigation's navigator as a prop to a functional component and I currently type check using <code>navigator: object</code>, but would love to use the typescript definition from ReactNavigation, so my code doesn't complain about things like &quot;navigation.navigate&quot; and so forth.</p>
  <p>I found the type definition inside <code>@react-navigation/core/lib/typescript/src/types.d.ts</code>; however it is not exported.</p>
  <p>I also found this in the ReactNavigation documentation, which indicates that I may be approaching this completely at the wrong angle.</p>
  <p><a href="https://reactnavigation.org/docs/typescript/#annotating-usenavigation" rel="nofollow noreferrer">https://reactnavigation.org/docs/typescript/#annotating-usenavigation</a></p>
  <p>Or maybe I should find a way to use the <code>useNavigation</code> hook, but that would require me to use use component that wasn't a function like I prefer.</p>
  <p>Bottomline: How can I import the <code>NavigationHelpersCommon</code> declaration to type check against?</p>