import type { JourneyProgressSnapshot } from '@contractspec/module.learning-journey/track-spec'; import { getLearningTrack } from './template-config'; export type LearningPresentationName = 'learning.journey.progress_widget' | 'learning.journey.track_detail' | 'learning.journey.track_list'; export interface LearningPresentationData { progress: JourneyProgressSnapshot; templateId: string; track: NonNullable>; tracks: NonNullable>[]; } export declare function buildLearningPresentationData(templateId: string, presentationName: LearningPresentationName): LearningPresentationData | undefined;