add jsdoc type for main export

closes #53