import type { CliSurface } from "../cli.js"; import { type ThemeMode } from "../config.js"; import { type ThemeLanguageIntensity } from "../theme-language.js"; export type CoppermindThemeMode = ThemeMode; export type BadgeTone = "neutral" | "accent" | "success" | "warning" | "danger"; export interface TerminalPalette { frame: string; accent: string; text: string; muted: string; subtle: string; success: string; warning: string; danger: string; copper: string; } export interface TerminalTheme { mode: CoppermindThemeMode; rich: boolean; themeLanguage: ThemeLanguageIntensity; borderStyle: "single" | "round"; palette: TerminalPalette; } export interface TerminalThemeResolutionOptions { env?: NodeJS.ProcessEnv; stdoutIsTTY?: boolean; stderrIsTTY?: boolean; surface?: CliSurface; } declare function normalizeThemeMode(raw: string | undefined): CoppermindThemeMode; export declare function resolveThemeMode(envValue: string | undefined, configValue: string | undefined): CoppermindThemeMode; export declare function shouldUseRichTerminalOutput(options?: TerminalThemeResolutionOptions): boolean; export declare function resolveTerminalTheme(options?: TerminalThemeResolutionOptions): TerminalTheme; export declare function toneColor(theme: TerminalTheme, tone: BadgeTone): string; export declare const terminalThemeInternals: { normalizeThemeMode: typeof normalizeThemeMode; }; export {}; //# sourceMappingURL=theme.d.ts.map