import { KeyVault } from './key-vault'; export interface RegistryToolResult { success: boolean; output?: string; error?: string; } export declare class RegistryTools { private static instance; private client; private registryUrl; private managementUrl; private apiKey; private keyVault; private connectionMap; private providerMap; constructor(registryUrl: string, apiKey: string, managementUrl: string, keyVault: KeyVault); static getInstance(registryUrl?: string, apiKey?: string, managementUrl?: string, keyVault?: KeyVault): RegistryTools; /** * Get tool definitions for AI */ getTools(): any[]; /** * Format tools for AI system prompt */ formatToolsForPrompt(): string; /** * Execute a registry tool */ executeTool(toolName: string, args: any): Promise; /** * Resolve connection identifier to UUID * Accepts either: * - Sequence number (1, 2, 3, etc.) - looks up in connectionMap * - UUID string - returns as-is */ private resolveConnectionId; private listConnections; private addConnection; private removeConnection; private testConnection; private updateConnectionKey; private listProviders; private discoverModels; private listModels; /** * Get detailed information about a specific model */ private getModelInfo; /** * Update model capabilities */ private updateModelCapabilities; /** * List request logs with pagination and filtering */ private listRequestLogs; /** * Get detailed request log by ID */ private getRequestLog; /** * Get request log statistics */ private getRequestLogStats; /** * Get comprehensive vault status showing both LocalVault and KeyVault */ private getVaultStatus; /** * List all credentials in LocalVault (persistent storage) */ private getLocalVaultList; /** * Show KeyVault status (in-memory chat protection) */ private getKeyVaultStatus; /** * Manage connection quota (set daily/monthly limits and enable/disable enforcement) */ private manageConnectionQuota; /** * Get quota status for a specific connection */ private getConnectionQuota; /** * List quota status for all connections */ private listConnectionQuotas; /** * Update model pricing (input/output/cached/reasoning tokens) * Supports both single model and bulk operations with filter */ private updateModelPricing; /** * Helper: Update pricing for a single model */ private updateSingleModelPricing; /** * Publish or unpublish a model (set access level) */ private publishModel; private updateSingleModelAccess; /** * Update billing settings for organization models (org admin only) * Calls /api/admin/models/:id/billing */ private updateModelBilling; /** * Update visibility for organization models (org admin only) * Calls /api/admin/models/:id/visibility */ private updateModelVisibility; /** * Get overall status of a workflow execution */ private getWorkflowStatus; /** * List all instances in a workflow execution */ private listWorkflowInstances; /** * Get output from a specific agent instance */ private getInstanceOutput; } //# sourceMappingURL=registry-tools.d.ts.map