import { z } from 'zod'; import { RollTemplateService } from '../../../../ports/index.js'; import { BaseTool } from './tool.js'; /** * Input type for the update template tool. */ type UpdateTemplateInput = { id: string; name?: string; description?: string; template?: string; }; /** * Output type for the update template tool. */ type UpdateTemplateOutput = { success: boolean; }; /** * Tool for updating a roll template. */ export declare class UpdateTemplateTool extends BaseTool { private readonly templateService; /** * Creates a new UpdateTemplateTool instance. * @param templateService The template service to use. */ constructor(templateService: RollTemplateService); /** * Gets the name of the tool. * @returns The tool name. */ protected getToolName(): string; /** * Gets the description of the tool. * @returns The tool description. */ protected getToolDescription(): string; /** * Gets the input schema for the tool. * @returns The input schema. */ protected getInputSchema(): z.ZodType; /** * Gets the output schema for the tool. * @returns The output schema. */ protected getOutputSchema(): z.ZodType; /** * Implements the tool execution logic. * @param args The validated tool arguments. * @returns The tool result. */ protected executeImpl(args: UpdateTemplateInput): Promise; } export {};