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