import type { AnyZodObject, z } from 'zod'; export type ToolContent = { type: 'text'; text: string; _meta?: Record; }; export interface ToolResult { content: ToolContent[]; structuredContent?: unknown; isError?: boolean; metadata?: Record; } export type ToolHandlerArgs = TSchema extends AnyZodObject ? z.infer : Record; export interface McpTool { name: string; description: string; inputSchema?: TSchema; handler(args: ToolHandlerArgs): Promise; } export declare function asTextContent(message: string): ToolContent; export declare function formatList(items: string[]): string; //# sourceMappingURL=types.d.ts.map