@fleek-platform/agents-ui
Version:
The Fleek Platform Agents UI provides a simple interface for deploying, monitoring, and configuring your agents––making management straightforward
18 lines (17 loc) • 521 B
TypeScript
import type { Plan, Subscription } from '@base/api';
export type GetBillingReturn = {
renewalDate: Date;
endDate?: Date;
activePlans: number;
planTotalPrice: number;
subscriptionId: string;
trialUntil?: Date;
} | undefined;
export declare const getBilling: (subscriptions: Subscription[], plan?: Plan) => GetBillingReturn;
export declare const useHasFanPlan: () => {
billing: GetBillingReturn;
isPending: boolean;
refetch: () => Promise<{
billing: GetBillingReturn;
}>;
};