beeline-cli
Version:
A terminal wallet for the Hive blockchain - type, sign, rule the chain
141 lines • 4.31 kB
TypeScript
import chalk from 'chalk';
import gradient from 'gradient-string';
export declare const neonColors: {
cyan: string;
magenta: string;
electric: string;
green: string;
purple: string;
pink: string;
orange: string;
yellow: string;
white: string;
darkCyan: string;
darkMagenta: string;
};
export declare const matrixColors: {
brightGreen: string;
green: string;
darkGreen: string;
mediumGreen: string;
black: string;
white: string;
};
export declare const neonGradients: {
cyber: gradient.Gradient;
matrix: gradient.Gradient;
synthwave: gradient.Gradient;
electric: gradient.Gradient;
sunset: gradient.Gradient;
};
export declare const matrixGradients: {
rain: gradient.Gradient;
code: gradient.Gradient;
terminal: gradient.Gradient;
};
export declare const neonChalk: {
cyan: chalk.Chalk;
magenta: chalk.Chalk;
electric: chalk.Chalk;
green: chalk.Chalk;
purple: chalk.Chalk;
pink: chalk.Chalk;
orange: chalk.Chalk;
yellow: chalk.Chalk;
white: chalk.Chalk;
darkCyan: chalk.Chalk;
darkMagenta: chalk.Chalk;
glow: (text: string) => string;
pulse: (text: string) => string;
error: (text: string) => string;
success: (text: string) => string;
warning: (text: string) => string;
info: (text: string) => string;
border: chalk.Chalk;
accent: chalk.Chalk;
highlight: chalk.Chalk;
};
export declare const matrixChalk: {
brightGreen: chalk.Chalk;
green: chalk.Chalk;
darkGreen: chalk.Chalk;
mediumGreen: chalk.Chalk;
white: chalk.Chalk;
black: chalk.Chalk;
glow: (text: string) => string;
pulse: (text: string) => string;
error: (text: string) => string;
success: (text: string) => string;
warning: (text: string) => string;
info: (text: string) => string;
border: chalk.Chalk;
accent: chalk.Chalk;
highlight: chalk.Chalk;
};
export declare const neonSymbols: {
bullet: string;
arrow: string;
check: string;
cross: string;
star: string;
diamond: string;
square: string;
circle: string;
triangle: string;
line: string;
verticalLine: string;
corner: string;
tee: string;
grid: string;
block: string;
shade: string;
mediumShade: string;
darkShade: string;
warning: string;
info: string;
pause: string;
download: string;
search: string;
vote: string;
proxy: string;
list: string;
};
export declare function createNeonBanner(text: string): Promise<string>;
export declare function createNeonBox(content: string, title?: string): string;
export declare function createNeonGrid(width?: number): string;
export declare function neonSpinner(text: string): NodeJS.Timeout;
export declare function matrixSpinner(text: string): NodeJS.Timeout;
export declare function createMatrixBanner(text: string): Promise<string>;
export declare function createMatrixBox(content: string, title?: string): string;
export declare class MatrixRain {
private columns;
private width;
private height;
private isRunning;
private intervalId?;
private readonly matrixChars;
constructor(width?: number, height?: number);
private initializeColumns;
private getRandomChar;
private renderFrame;
start(duration?: number): Promise<void>;
stop(): void;
}
export declare function playMatrixRain(duration?: number, width?: number, height?: number): Promise<void>;
export declare function addMatrixFlair(text: string): string;
export type ThemeType = 'cyberpunk' | 'matrix';
export interface Theme {
name: string;
colors: typeof neonColors | typeof matrixColors;
chalk: typeof neonChalk | typeof matrixChalk;
gradients: typeof neonGradients | typeof matrixGradients;
createBanner: (text: string) => Promise<string>;
createBox: (content: string, title?: string) => string;
spinner: (text: string) => NodeJS.Timeout;
}
export declare const themes: Record<ThemeType, Theme>;
export declare function setTheme(theme: ThemeType): Promise<void>;
export declare function getTheme(): Promise<Theme>;
export declare function getCurrentThemeName(): Promise<ThemeType>;
export declare function listThemes(): ThemeType[];
//# sourceMappingURL=neon.d.ts.map