import type { NodePath } from '@babel/traverse'; export default function useAppEvent(path: NodePath, state: any): void;