UNPKG

@punkbit/test24jan

Version:

A standalone package for Fleek Agents AI user-interface

26 lines (25 loc) 1.01 kB
import type { DeploymentStatus } from '../api'; export interface UseDeployAIAgentProps { isLoggedIn: boolean; isLoggingIn: boolean; login: () => void; ensureUserSubscription: (projectId: string) => Promise<boolean>; triggerAgentDeployment: (characterfile: string, projectId: string) => Promise<{ ok: boolean; agentId?: string; }>; getAgentDeploymentStatus: (agentId: string) => Promise<{ ok?: boolean; data?: DeploymentStatus; }>; } export declare const useDeployAIAgent: ({ isLoggedIn, login, ensureUserSubscription, triggerAgentDeployment, getAgentDeploymentStatus, }: UseDeployAIAgentProps) => { resetDeployment: () => void; deployAgent: (characterFile?: string, projectId?: string) => Promise<boolean>; isDeploymentStarted: boolean; isDeploymentSuccessful: boolean; isDeploymentFailed: boolean; isDeploymentPending: boolean; deploymentStatus: DeploymentStatus | undefined; deployedAgentId: string | undefined; };