logsdx
Version:
<div align="center"><img alt="logsdx" width="300" src="https://github.com/user-attachments/assets/cc2a3b55-5bfd-44e8-a330-bfa146b50059" /></div>
35 lines (34 loc) • 914 B
TypeScript
export declare function textSync(text: string, options?: {
font?: string;
horizontalLayout?: string;
verticalLayout?: string;
}): string;
interface BoxenOptions {
padding?: number | {
top?: number;
bottom?: number;
left?: number;
right?: number;
};
margin?: number | {
top?: number;
bottom?: number;
left?: number;
right?: number;
};
borderStyle?: "single" | "double" | "round" | "bold" | "classic";
borderColor?: string;
backgroundColor?: string;
title?: string;
}
export declare function boxen(text: string, options?: BoxenOptions): string;
export declare function gradient(colors: string[]): {
(text: string): string;
multiline(text: string): string;
};
declare const _default: {
textSync: typeof textSync;
boxen: typeof boxen;
gradient: typeof gradient;
};
export default _default;