React-output-target and types

Hello there!

I am using react-output-target to create my react package. It does create the wrappers but does not include the types. Is that how it is supposed to work? Or is there a way for me to also add the types?

For example, I have a breadcrumbs component:

export type BreadcrumbItem = { label: string; url?: string; dataRef?: string; emitNavEvent?: boolean; };

export class Breadcrumbs {
  @Prop() items: string | BreadcrumbItem[] = [];

My consumer app is Typescript and React. They are using my React package and can import the component just fine. But not the BreadcrumbItem type.

I am on Stencil v2.

Any guidance would be helpful here.