import { type RgbColor } from "@earendil-works/pi-tui"; import type { ThemeBg, ThemeColor } from "./theme-class.ts"; export declare const SYSTEM_THEME_NAME = "system"; type ThemeAppearance = "dark" | "light"; type ThemeToken = ThemeColor | ThemeBg | "scrollbarTrack" | "thinkingMax"; export interface SystemThemeInput { foreground?: RgbColor; background?: RgbColor; palette?: RgbColor[]; saturation?: number; appearanceHint?: ThemeAppearance; } export interface SystemThemeColors { colors: Record; dim: ThemeColor[]; appearance: ThemeAppearance | undefined; } export declare function relativeLuminance({ r, g, b }: RgbColor): number; export declare function wcagContrast(first: RgbColor, second: RgbColor): number; export declare function terminalAppearance(background: RgbColor, foreground?: RgbColor): ThemeAppearance; export declare function generateSystemThemeColors(input: SystemThemeInput): SystemThemeColors; export {}; //# sourceMappingURL=system-theme.d.ts.map