@fleek-platform/agents-ui
Version:
The Fleek Platform Agents UI provides a simple interface for deploying, monitoring, and configuring your agents––making management straightforward
20 lines (19 loc) • 737 B
TypeScript
import type { getSubscriptions, createSubscription, getPlans } from './api';
import type { CaptureEventFn } from '@config/events';
import type { AuthStore } from '@fleek-platform/login-button';
type getSubscriptionsType = typeof getSubscriptions;
type getPlansType = typeof getPlans;
/** Main interface. */
export interface AppProps {
authStoreInstance: AuthStore;
getReferralId?: () => string;
getSubscriptions: getSubscriptionsType;
getPlans: getPlansType;
captureEvent?: CaptureEventFn;
createSubscription: typeof createSubscription;
basePath?: `/${string}`;
loginButton: React.ReactNode;
}
/** Package will define and export this component. */
export declare const App: React.FC<AppProps>;
export {};