/** * Type-safe parameter casting for tool handlers. * * Tool handler parameters arrive as Record but have already * been validated by Zod in ToolRegistry.registerTool(). This utility provides * a centralized, documented assertion that replaces scattered `as unknown as T` * casts throughout tool handlers. * * @example * const data = toolParams(params); */ export declare function toolParams(params: Record): T; /** * Validates and returns a positive integer `id` from params. * Throws a ZodError with a clear message if the value is missing, not a number, or not a positive integer. */ export declare function parseId(params: Record): number; /** * Validates and returns `id` (positive integer) and optional `force` (boolean | undefined) from params. */ export declare function parseIdAndForce(params: Record): { id: number; force?: boolean | undefined; }; //# sourceMappingURL=params.d.ts.map