UNPKG

@punkbit/test24jan

Version:

A standalone package for Fleek Agents AI user-interface

35 lines (34 loc) 937 B
export declare const triggerDeployment: (projectId: string, characterFile: string, token: string) => Promise<{ ok: boolean; data?: { agentId?: string; }; error?: string; }>; interface DeploymentResponseData extends Record<string, 'true' | 'false'> { } interface DeploymentResponse { ok: boolean; data?: DeploymentResponseData; } export declare const getDeploymentStatus: (agentId: string, token: string) => Promise<DeploymentResponse>; type AiAgent = { createdAt: string; createdBy: string; deletedAt?: String; host: string; id: string; name: string; projectId: string; slotNumber: number; updatedAt: string; }; type AiAgentsResponseData = { data: AiAgent[]; }; interface AiAgentsResponse { ok?: boolean; data?: AiAgentsResponseData; } export declare const getAgentsByProjectId: (projectId?: string, token?: string) => Promise<AiAgentsResponse>; export {};