/** * Auto Theme Extension * * Syncs pi theme with the OS dark/light mode, switching between paired * dark/light themes. * * Mode detection per platform: * macOS: polls appearance via osascript every 3 seconds * Linux: polls `mode` in Omarchy's colors.toml (~/.local/state/ * omarchy/current/theme/colors.toml), which omarchy theme * set refreshes. Inert without Omarchy — an unreadable mode * never resolves to "light" and stomp paired themes. * other: inert * * Theme pairs: * nightowl ↔ lightowl * tokyonight-night ↔ tokyonight-day * catppuccin-mocha ↔ catppuccin-latte * dark ↔ light */ import type { ExtensionAPI } from '@earendil-works/pi-coding-agent'; declare function linuxDarkMode(): Promise; export { linuxDarkMode }; export default function (pi: ExtensionAPI): void;