export declare const UserSubscriptionPackage: { readonly ENTRY_FLEET_OWNER: "Entry (Fleet Owner)"; readonly EXPLORE_FLEET_OWNER: "Explore (Fleet Owner)"; readonly EVOLVE_FLEET_OWNER: "Evolve (Fleet Owner)"; readonly EXPAND_FLEET_OWNER: "Expand (Fleet Owner)"; readonly EXPLORE_OEM: "Explore (OEM)"; readonly EVOLVE_OEM: "Evolve (OEM)"; readonly EXPAND_OEM: "Expand (OEM)"; readonly COLLECT: "COLLECT"; readonly INSIGHT: "INSIGHT"; readonly VIEW: "VIEW"; readonly NONE: "NONE"; readonly EXPLORE: "Explore"; readonly EVOLVE: "Evolve"; readonly EXPAND: "Expand"; readonly LINK: "Link"; readonly LIFT: "Lift"; readonly LEAP: "Leap"; readonly CUSTOMER_PORTAL: "Customer Portal"; }; export type UserSubscriptionPackageType = keyof typeof UserSubscriptionPackage; interface SubscriptionFeature { id: string; name: string; } export interface UserSubscription { /** * The users subscription package */ packageType: UserSubscriptionPackageType; /** * Extra features enabled for the current user. Will be null if still loading. * This is meant for internal trackunit use only ! - as we cannot guarantee feature ids/names are stable over time. */ features: Array | null; /** * Number of days you can see back in time for this subscription. * * Returns the number of days */ numberOfDaysWithAccessToHistoricalData: number; /** * Number of days you can see back in time for insights for this subscription. * * Returns the number of days */ numberOfDaysWithAccessToHistoricalInsights: number; /** * If the subscription is still loading. */ loading: boolean; } export interface UserSubscriptionRuntimeApi { getUserSubscriptionContext: () => Promise; } export {};