import type { NodePath } from '@babel/traverse'; import type { types as t } from '@babel/core'; import type State from './state'; export default function moduleExists(path: NodePath, state: State): boolean;