import type { FoundationArgs } from "../args.js"; /** * Collects foundation analytics from the activities database and writes summarized metrics to the console. * * When `args.json` is truthy, emits a single JSON object containing `raceHistory`, `lifetimePeaks`, * `peakTrainingWeeks`, and `trainingHistoryDepth`. Otherwise prints human-readable tables for: * race history (workout_type = 1), lifetime peaks by sport, peak training weeks (top N), and training history depth. * * @param args - CLI options; `args.json` toggles JSON output, and `args.topWeeks` controls how many top training weeks are shown (defaults to 5 when not a positive integer) */ export declare function runFoundation(args: FoundationArgs): Promise;