logsdx
Version:
<div align="center"><img alt="logsdx" width="300" src="https://github.com/user-attachments/assets/cc2a3b55-5bfd-44e8-a330-bfa146b50059" /></div>
8 lines (7 loc) • 558 B
TypeScript
import type { Theme } from "../types";
import type { LightBoxOptions } from "./types";
export declare function getThemeBackground(theme: Theme | string): string;
export declare function renderLightBoxLine(line: string, theme: Theme | string, options?: LightBoxOptions): string;
export declare function renderLightBox(lines: ReadonlyArray<string>, theme: Theme | string, title?: string, options?: LightBoxOptions): ReadonlyArray<string>;
export declare function isLightTheme(theme: Theme | string): boolean;
export declare function isTerminalDark(): boolean;