import { ExperimentId, PriceInteger, UIColor, UserRole } from '..'; export interface SubscriptionPlan { /** Name of the Subscription type (ex. Nestling) */ name: SubscriptionPlanName; /** User role attributed to users in this plan */ role: UserRole; /** Unique Stripe Product ID */ productId: string; /** Unique current Stripe Price ID */ priceId: string; /** Base monthly price with no coupons */ baseMonthlyPriceUSD: PriceInteger; /** Unique emoji of the subscription plan */ emoji: string; /** Unique color of the subscription plan, in HEX (including '#'), show in the UI. */ color: UIColor; /** List of perks to advertise the plan for */ perks: SubscriptionPlanPerk[]; /** Priority amongst other plans */ priority: number; /** * Maximum number of associated users for the subscription, relevant for * subscriptions like "Flock". */ maximumAssociatedUsers?: number; } interface SubscriptionPlanPerk { /** Legible text about this perk, such as "Beta features" */ text: string; /** An experiment that controls this perk */ experiment?: ExperimentId; } export declare type SubscriptionPlanName = string; export {};