/**
 * @license
 * Copyright 2025 HopCode Team
 * SPDX-License-Identifier: Apache-2.0
 */
import { TipHistory } from './tipHistory.js';
export { TipHistory } from './tipHistory.js';
export { selectTip } from './tipScheduler.js';
export { tipRegistry, getContextUsagePercent, } from './tipRegistry.js';
/**
 * Shared TipHistory singleton for the session. Loaded once on first access
 * so both startup tips and post-response tips share the same state.
 */
let _tipHistory = null;
export function getTipHistory() {
    if (!_tipHistory) {
        _tipHistory = TipHistory.load();
    }
    return _tipHistory;
}
//# sourceMappingURL=index.js.map