/** * Pricing Configuration for Ticket Mate * * Single User Flat Rate model: * - Starter: $10/month * - Pro: $25/month * - Enterprise: Custom * * All plans include Unlimited Jira Projects. */ export type PlanId = "starter" | "pro" | "enterprise"; export interface PlanFeature { id: string; name: string; description?: string; included: boolean; } export interface PricingPlan { id: PlanId; name: string; description: string; monthlyPrice: number; yearlyPrice: number; maxSeats: number; stripePriceIdMonthly?: string; stripePriceIdYearly?: string; features: PlanFeature[]; popular?: boolean; ctaText?: string; trialDays?: number; isEnterprise?: boolean; enterpriseFormUrl?: string; headerText?: string; headerColor?: "success" | "primary" | "secondary" | "info" | "warning" | "error" | "default"; } export declare const pricingPlans: PricingPlan[]; /** * Get plan by ID */ export declare function getPlan(planId: PlanId): PricingPlan | undefined; /** * Get all plans */ export declare function getAllPlans(): PricingPlan[]; /** * Get popular/featured plan */ export declare function getPopularPlan(): PricingPlan | undefined; /** * Check if feature is included in plan */ export declare function hasFeature(planId: PlanId, featureId: string): boolean; /** * Get Stripe price ID for plan and billing period */ export declare function getStripePriceId(planId: PlanId, yearly: boolean): string | undefined; /** * Calculate price */ export declare function calculatePrice(planId: PlanId, _userCount?: number, yearly?: boolean): number; /** * Get display price text for a plan */ export declare function getPriceDisplay(planId: PlanId, _userCount?: number, yearly?: boolean): string; //# sourceMappingURL=pricing.d.ts.map