import { Course } from '../store/useCourseStore'; /** * Adds a course to the visited courses list and updates user preferences * @param {Course} course - The course to add to visited courses * @returns {Promise} */ export declare const addVisitedCourse: (course: Course) => Promise; /** * Gets the current list of visited course IDs from user preferences * @returns {string[]} Array of course IDs in "code:instance" format */ export declare const getVisitedCourses: () => string[]; /** * Subscribes to visited courses updates * @param {Function} callback - Function to call when visited courses list changes * @returns {Function} Unsubscribe function */ export declare const onVisitedCoursesUpdate: (callback: (courseIds: string[]) => void) => () => void;