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) 922 B
export interface UseDeployAIAgentProps { isLoggedIn: boolean; isLoggingIn: boolean; login: () => void; ensureUserSubscription: (projectId: string) => Promise<boolean>; triggerAgentDeployment: (characterfile: string, projectId: string, avatar?: string, draftId?: string, frameworkVersion?: string) => Promise<{ ok: boolean; agentId?: string; }>; } export declare const useDeployAIAgent: ({ isLoggedIn, login, ensureUserSubscription, triggerAgentDeployment, }: UseDeployAIAgentProps) => { deployAgent: import("@tanstack/react-query").UseMutateAsyncFunction<string | false, Error, { characterFile: string; projectId: string; avatar?: string; draftId?: string; frameworkVersion?: string; }, unknown>; isDeploymentPending: boolean; isDeploymentFailed: boolean; isDeploymentStarted: boolean; resetDeployment: () => void; };