The custom length-prefixed-stream type definition causes errors when used in other projects.

There's a workaround, but it's not ideal, to enable "skipLibCheck": true in the consuming project's tsconfig.json.
We can try to contribute the definition to DefinitelyTyped, look into including the definition with the packaged module and seeing if that resolves the issue, or explore alternatives.