export declare const MCP_PROTOCOL_VERSION = "2024-11-05"; export declare const GET_SECRET_TOOL = "get_secret"; export declare const MCP_SERVER_NAME = "agents-secrets"; export interface JsonRpcRequest { jsonrpc?: string; id?: string | number | null; method?: string; params?: unknown; } interface JsonRpcSuccess { jsonrpc: '2.0'; id: string | number | null; result: unknown; } interface JsonRpcErrorResponse { jsonrpc: '2.0'; id: string | number | null; error: { code: number; message: string; }; } export type JsonRpcResponse = JsonRpcSuccess | JsonRpcErrorResponse; export interface BundleKeyMetadata { bundle: string; description?: string; keys: string[]; } export declare function listSecretMetadata(): BundleKeyMetadata[]; export declare function resolveSecret(bundle: string, key: string): string; export declare function handleMcpRequest(req: JsonRpcRequest, ctx?: { version?: string; }): JsonRpcResponse | null; export declare function runSecretsMcpServer(opts?: { input?: NodeJS.ReadableStream; output?: NodeJS.WritableStream; version?: string; }): Promise; export {};