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 so the signature can be inspected fully.
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;
}