@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) • 535 B
TypeScript
import type { Plan, Subscription } from '@base/api';
export type GetBillingReturn = {
renewalDate: Date;
activePlans: number;
planTotalPrice: number;
subscriptionId: string;
} | undefined;
export declare const getBilling: (subscriptions: Subscription[], plan?: Plan) => GetBillingReturn;
export declare const useBilling: () => {
tee: GetBillingReturn;
standard: GetBillingReturn;
isPending: boolean;
refetch: () => Promise<{
tee: GetBillingReturn;
standard: GetBillingReturn;
}>;
};