Add type definitions for Qajax