Exposed the main module's getPool() function in TypeScript.