UNPKG

linea-mcp

Version:

A Model Context Protocol server for interacting with the Linea blockchain

85 lines 2.3 kB
import { z } from 'zod'; export declare const resolveNameSchema: z.ZodObject<{ name: z.ZodString; testnet: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { name: string; testnet?: boolean | undefined; }, { name: string; testnet?: boolean | undefined; }>; export declare const lookupAddressSchema: z.ZodObject<{ address: z.ZodString; testnet: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { address: string; testnet?: boolean | undefined; }, { address: string; testnet?: boolean | undefined; }>; export declare const checkNameAvailabilitySchema: z.ZodObject<{ name: z.ZodString; testnet: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { name: string; testnet?: boolean | undefined; }, { name: string; testnet?: boolean | undefined; }>; export declare const getRecordsSchema: z.ZodObject<{ name: z.ZodString; records: z.ZodArray<z.ZodString, "many">; testnet: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { name: string; records: string[]; testnet?: boolean | undefined; }, { name: string; records: string[]; testnet?: boolean | undefined; }>; export declare function resolveName(params: z.infer<typeof resolveNameSchema>): Promise<{ success: boolean; name: string; address: string | null; resolved: boolean; network: string; }>; export declare function lookupAddress(params: z.infer<typeof lookupAddressSchema>): Promise<{ success: boolean; address: string; name: string | null; resolved: boolean; network: string; }>; export declare function checkNameAvailability(params: z.infer<typeof checkNameAvailabilitySchema>): Promise<{ success: boolean; name: string; available: boolean; network: string; }>; export declare function getRecords(params: z.infer<typeof getRecordsSchema>): Promise<{ success: boolean; name: string; records: Record<string, string | null>; network: string; }>; export declare const toolMetadata: { resolveName: { description: string; }; lookupAddress: { description: string; }; checkNameAvailability: { description: string; }; getRecords: { description: string; }; }; //# sourceMappingURL=index.d.ts.map