import { TodoistApi } from '@doist/todoist-api-typescript';
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
import { TextResourceContents } from '@modelcontextprotocol/sdk/types.js';
import { z } from 'zod';
import { TodoistTool } from './todoist-tool.js';
type McpTextResource = {
    name: string;
} & TextResourceContents;
declare function addMetaToTool<Params extends z.ZodRawShape, Output extends z.ZodRawShape = z.ZodRawShape>(tool: TodoistTool<Params, Output>, meta: TodoistTool<Params, Output>['_meta']): TodoistTool<Params, Output>;
/**
 * Register a Todoist tool in an MCP server.
 * @param tool - The tool to register.
 * @param server - The server to register the tool on.
 * @param client - The Todoist API client to use to execute the tool.
 */
declare function registerTool<Params extends z.ZodRawShape, Output extends z.ZodRawShape = z.ZodRawShape>(tool: TodoistTool<Params, Output>, server: McpServer, client: TodoistApi): void;
declare function registerResource(server: McpServer, resource: McpTextResource): void;
export { addMetaToTool, registerResource, registerTool };
//# sourceMappingURL=mcp-helpers.d.ts.map