UNPKG

@fleek-platform/agents-ui

Version:

The Fleek Platform Agents UI provides a simple interface for deploying, monitoring, and configuring your agents––making management straightforward

24 lines (23 loc) 786 B
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 useBilling: () => { legacyBilling: GetBillingReturn; standardBilling: GetBillingReturn; subscribableBilling: GetBillingReturn; isPending: boolean; subscribablePlan: Plan | undefined; refetch: () => Promise<{ legacyBilling: GetBillingReturn; standardBilling: GetBillingReturn; subscribablePlan: Plan | undefined; subscribableBilling: GetBillingReturn; }>; };