/** * @fileoverview chainweb_info - read node metadata + chain list. * * Security invariant: refuses loudly if `networkId !== "development"` — this * server is devnet-only for the v1 MVP. */ import { z } from 'zod'; import type { ChainwebClient } from '../client/fetch.js'; export declare const InfoInputShape: {}; export declare const InfoInputSchema: z.ZodObject<{}, z.core.$strip>; export interface InfoResult { networkId: string; nodeVersion: string; apiVersion: string; chainIds: string[]; /** Present iff /cut was reachable. Missing entries are omitted per-chain. */ chainTimestamps?: Record; } export interface InfoToolConfig { client: ChainwebClient; /** Expected network id — defaults to `development` (devnet-only guarantee). */ expectedNetworkId?: string; } /** * Factory for the info tool. Returns a handler compatible with * McpServer.registerTool's callback signature (receives `args: unknown`). */ export declare function createInfoTool(config: InfoToolConfig): (args: unknown) => Promise<{ content: InfoResult[]; }>; //# sourceMappingURL=info.d.ts.map