export interface Service { id?: string; name: string; url: string; score?: number; rating?: string; category?: string; description?: string; } export interface ScanResult { scan_id?: string; clarvia_score: number; rating: string; dimensions?: Record; recommendations?: string[]; [key: string]: unknown; } export interface ServiceDetails { [key: string]: unknown; } export interface Category { name: string; count: number; [key: string]: unknown; } export interface Stats { total_services?: number; average_score?: number; [key: string]: unknown; } export interface RegisterResult { profile_id?: string; status?: string; [key: string]: unknown; } export declare function searchServices(params: { query?: string; category?: string; service_type?: string; min_score?: number; limit?: number; }): Promise; export interface FeedbackResult { status: string; total_feedback: number; } export declare function submitFeedback(params: { profile_id: string; outcome: "success" | "failure" | "partial"; agent_id?: string; error_message?: string; latency_ms?: number; }): Promise; export declare function scanService(url: string): Promise; export declare function getServiceDetails(scanId: string): Promise; export declare function listCategories(): Promise; export declare function getStats(): Promise; export declare function registerService(params: { name: string; url: string; description: string; category: string; github_url?: string; }): Promise; export interface GateCheckResult { url: string; score: number; rating: string; agent_grade: "AGENT_NATIVE" | "AGENT_FRIENDLY" | "AGENT_POSSIBLE" | "AGENT_HOSTILE"; pass: boolean; reason: string; alternatives?: Service[]; } export interface BatchCheckResult { results: GateCheckResult[]; checked_at: string; } export interface ProbeResult { url: string; reachable: boolean; response_time_ms: number; has_openapi: boolean; has_mcp: boolean; has_agents_json: boolean; checks: Record; } export declare function gateCheck(url: string, minRating?: GateCheckResult["agent_grade"]): Promise; export declare function batchCheck(urls: string[]): Promise; export declare function findAlternatives(category: string, minScore?: number, limit?: number): Promise; export declare function probeService(url: string): Promise; export interface SetupTool { name: string; input_name: string; score: number | null; category: string; rank_in_category: number | null; scan_id: string | null; } export interface RegisterSetupResult { setup_id: string; tools: SetupTool[]; summary: { total: number; matched: number; unmatched: number; avg_score: number; }; } export interface CompareResult { setup_id: string; comparisons: Array<{ current: { name: string; score: number | null; rank?: number; status?: string; }; better_alternatives: Array<{ name: string; score: number; scan_id: string; }>; category: string; category_avg: number | null; upgrade_potential?: boolean; }>; summary: { total_tools: number; upgradable: number; }; } export interface RecommendResult { setup_id: string; recommendations: Array<{ name: string; score: number; category: string; scan_id: string; reason: string; }>; based_on_categories: string[]; } export declare function registerSetup(tools: string[], setupId?: string): Promise; export declare function compareSetup(setupId: string): Promise; export interface CreateTicketResult { ticket_id: string; status: string; message: string; track_url: string; } export declare function createCSTicket(params: { type: "bug" | "feature" | "question" | "security"; title: string; description: string; agent_id?: string; service_url?: string; severity?: string; metadata?: Record; }): Promise; export interface TicketListResult { total: number; tickets: Array<{ ticket_id: string; type: string; title: string; status: string; severity: string; created_at: string; }>; } export declare function listCSTickets(params?: { type?: string; status?: string; agent_id?: string; }): Promise; export interface TopPick { name: string; url: string; score: number; rating: string; category: string; scan_id: string; description: string; } export interface TopPicksResult { top_picks: TopPick[]; by_category: Record; total: number; threshold: number; } export declare function getTopPicks(params?: { category?: string; limit?: number; }): Promise; export declare function recommendForSetup(setupId: string, limit?: number): Promise; //# sourceMappingURL=api-client.d.ts.map