/** * AgentFolio API Client * Shared HTTP client for all AgentFolio API interactions. */ export interface AgentProfile { id: string; name: string; bio?: string; skills?: string[]; trust_score?: number; reputation?: number; rank?: string; wallets?: Record; verifications?: string[]; endorsements?: any[]; portfolio?: any[]; track_record?: any[]; } export interface Job { id: string; title: string; description: string; budget?: string; category?: string; skills_required?: string[]; posted_by?: string; status?: string; } export interface SearchResult { results: AgentProfile[]; total: number; limit: number; offset: number; } export interface TrustScore { agent_id: string; trust_score: number; reputation: number; rank: string; level: number; endorsement_count: number; verification_count: number; } export declare class AgentFolioClient { private baseUrl; private apiKey?; constructor(baseUrl?: string, apiKey?: string); private request; lookupAgent(agentId: string): Promise; searchAgents(query: string, limit?: number): Promise; getTrustScore(agentId: string): Promise; getEndorsements(agentId: string): Promise; listJobs(): Promise; getJob(jobId: string): Promise; getLeaderboard(limit?: number): Promise; }