UNPKG

fitmcp

Version:

A fitness MCP server for calculating metabolism and nutrition

11 lines (10 loc) 642 B
import { Profile, Objective, MacronutrientRatios } from "../type.js"; import { z } from "zod"; export declare const calculMetabolism: (gender: string, age: number, weight: number, height: number) => number; export declare const calculRepartition: (goal: z.infer<typeof Objective>, calories: number) => z.infer<typeof MacronutrientRatios>; /** * Calculates the complete nutritional distribution based on the user's profile * @param profile Complete profile of the user * @returns Complete nutritional distribution in grams */ export declare const calculNutrition: (profile: z.infer<typeof Profile>) => z.infer<typeof MacronutrientRatios>;