export function traverse(path: any, state: any, visitor: any): void;