What about adding type declaration to statsbreaks ?
Nowadays many JavaScript libraries are providing TypeScript type definitions for their users (otherwise there is some warnings when importing / using code without types in a TypeScript project, cf. screenshot).

Once created, these type definitions will have to be referenced in the types field of the package.json file so that they can be used automatically when importing the library after installing it.