@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
11 lines • 718 B
TypeScript
import { type Color, type EditorKeywordHighlight, type TerminalColorMode } from "@earendil-works/pi-tui";
import type { ThemeAppearance } from "./theme.ts";
export declare function reservedKeywordColor(appearance: ThemeAppearance, index: number, length: number): Color;
export interface ReservedKeywordHighlightSource {
readonly appearance: () => ThemeAppearance;
readonly colorMode: () => TerminalColorMode;
readonly env?: NodeJS.ProcessEnv;
}
/** `NO_COLOR` (any non-empty value) turns the decoration off entirely. */
export declare function createReservedKeywordHighlight(source: ReservedKeywordHighlightSource): EditorKeywordHighlight | undefined;
//# sourceMappingURL=reserved-keyword-rainbow.d.ts.map