UNPKG

expense-log-mcp

Version:

A MCP server that provides tools for logging expenses.

30 lines (29 loc) 883 B
import { z } from "zod"; import { successResponse, errorResponse } from "./utils.js"; declare const deleteExpenseParameters: z.ZodObject<{ ledgerId: z.ZodString; messageId: z.ZodString; }, "strip", z.ZodTypeAny, { ledgerId: string; messageId: string; }, { ledgerId: string; messageId: string; }>; type DeleteExpenseParameters = z.infer<typeof deleteExpenseParameters>; export declare const deleteExpense: { name: string; description: string; parameters: z.ZodObject<{ ledgerId: z.ZodString; messageId: z.ZodString; }, "strip", z.ZodTypeAny, { ledgerId: string; messageId: string; }, { ledgerId: string; messageId: string; }>; execute: ({ ledgerId, messageId }: DeleteExpenseParameters) => Promise<ReturnType<typeof successResponse> | ReturnType<typeof errorResponse>>; }; export {};