import { Plan } from '../../interfaces'; import { FronteggApiError, ISubscriptionSummariesResponse } from '@frontegg/rest-api'; export interface BillingInformationState { loading: boolean; error: FronteggApiError | null; fetching: boolean; summary?: ISubscriptionSummariesResponse; plan?: Plan; } export interface BillingInformationActions { loadBillingInformation: () => void; cancelSubscription: () => void; renewSubscription: () => void; }