TypeScript API exposed (includes definition file).