/** * Level-based helper functions for adaptive UI behavior * based on user experience level (beginner, intermediate, expert) */ import { ExperienceLevel } from '../config/defaults.js'; /** * Get the current experience level from user config */ export declare function getLevel(): ExperienceLevel; /** * Check if current level matches the specified level */ export declare function isLevel(level: ExperienceLevel): boolean; /** * Determine if confirmation should be shown based on level * - Beginner: Always confirm * - Intermediate: Always confirm * - Expert: Only confirm destructive actions * * @param isDestructive - Whether the action is destructive (force push, delete, hard reset) */ export declare function shouldConfirm(isDestructive?: boolean): boolean; /** * Warning severity categories * - critical: Data loss, force push, hard reset, delete branch * - warning: Uncommitted changes, behind remote * - info: Tips, suggestions, educational content */ export type WarningCategory = 'critical' | 'warning' | 'info'; /** * Determine if warning should be shown based on level and category * - Beginner: Show all warnings * - Intermediate: Show critical and warning, skip info * - Expert: Only show critical */ export declare function shouldShowWarning(category: WarningCategory): boolean; /** * Determine if educational explanations should be shown * Only shows for beginner level */ export declare function shouldShowExplanation(): boolean; //# sourceMappingURL=level-helper.d.ts.map