# ResolvedPromo

This type is used by an exported signature but is not directly exported from `@plandalf/react`'s package entrypoint. It is shown here from [hooks/usePromo.ts:4](https://github.com/plandalf/numi/blob/fc6f42b5ade3d63b71623934838a6509f17203e2/packages/react/src/hooks/usePromo.ts#L4) so the signature can be inspected fully.

```ts
interface ResolvedPromo {
  config: {
    slug: string;
    name: string;
    type: string;
    offer?: string;
    tiers: Array<{ label: string; offer_item_id?: number; price_id?: number }>;
    style: Record<string, unknown>;
  };
  activeTier: { label: string; [key: string]: unknown } | null;
  remaining: number | null;
  spotsRemaining: number | null;
}
```

Source: https://plandalf.com/docs/packages/react/referenced-types/ResolvedPromo
