import type { Color, TextStyle } from '../types.js'; /** * Detect if the terminal has a dark or light background */ export declare function isDarkTerminal(): boolean; /** * Resolve a value based on the current terminal theme */ export declare function resolveThemeColor(colors: { dark: T; light: T; }, forceTheme?: 'dark' | 'light'): T; export type AutoColor = 'base' | 'muted' | 'highlight' | 'accent' | 'warning' | 'error' | 'info' | 'location' | 'success'; /** * Checks if a string is a semantic auto-color token */ export declare function isAutoColor(color: string): color is AutoColor; /** * Automatically picks the right ANSI color for a semantic token based on light/dark theme */ export declare function autoColor(token: AutoColor, override?: 'dark' | 'light'): Color; /** * Automatically picks the right full style for a semantic token */ export declare function autoStyle(token: AutoColor, override?: 'dark' | 'light'): TextStyle; //# sourceMappingURL=terminal-theme.d.ts.map