/** * budget.ts — set_spend_policy, check_budget tools. * * set_spend_policy: configure a SpendingPolicy (in-process, persists for server lifetime). * check_budget: query on-chain remaining budget via checkBudget(). */ import { z } from 'zod'; export declare function _resetPolicyStore(): void; export declare const SetSpendPolicySchema: z.ZodObject<{ scopeKey: z.ZodOptional; dailyLimitEth: z.ZodOptional; perTxCapEth: z.ZodOptional; allowedRecipients: z.ZodOptional>; }, "strip", z.ZodTypeAny, { scopeKey?: string | undefined; dailyLimitEth?: string | undefined; perTxCapEth?: string | undefined; allowedRecipients?: string[] | undefined; }, { scopeKey?: string | undefined; dailyLimitEth?: string | undefined; perTxCapEth?: string | undefined; allowedRecipients?: string[] | undefined; }>; export type SetSpendPolicyInput = z.infer; export declare const setSpendPolicyTool: { name: string; description: string; inputSchema: { type: "object"; properties: { scopeKey: { type: string; description: string; }; dailyLimitEth: { type: string; description: string; }; perTxCapEth: { type: string; description: string; }; allowedRecipients: { type: string; items: { type: string; }; description: string; }; }; required: never[]; }; }; export declare function handleSetSpendPolicy(input: SetSpendPolicyInput): Promise<{ content: Array<{ type: 'text'; text: string; }>; isError?: boolean; }>; export declare const CheckBudgetSchema: z.ZodObject<{ scopeKey: z.ZodOptional; token: z.ZodOptional; }, "strip", z.ZodTypeAny, { token?: string | undefined; scopeKey?: string | undefined; }, { token?: string | undefined; scopeKey?: string | undefined; }>; export type CheckBudgetInput = z.infer; export declare const checkBudgetTool: { name: string; description: string; inputSchema: { type: "object"; properties: { scopeKey: { type: string; description: string; }; token: { type: string; description: string; }; }; required: never[]; }; }; export declare function handleCheckBudget(input: CheckBudgetInput): Promise<{ content: Array<{ type: 'text'; text: string; }>; isError?: boolean; }>; //# sourceMappingURL=budget.d.ts.map