@entro314labs/at3-toolkit
Version:
Advanced development toolkit for AT3 Stack projects
86 lines (85 loc) • 3.37 kB
TypeScript
import Table from "cli-table3";
import type { GradientUtils } from "../types/gradient.js";
export declare const symbols: {
readonly success: string;
readonly error: string;
readonly warning: string;
readonly info: string;
readonly arrow: string;
readonly bullet: string;
readonly pointer: string;
readonly star: string;
readonly heart: string;
readonly radioOn: string;
readonly radioOff: string;
readonly checkboxOn: string;
readonly checkboxOff: string;
};
export declare const colors: {
readonly primary: import("chalk").ChalkInstance;
readonly secondary: import("chalk").ChalkInstance;
readonly success: import("chalk").ChalkInstance;
readonly error: import("chalk").ChalkInstance;
readonly warning: import("chalk").ChalkInstance;
readonly info: import("chalk").ChalkInstance;
readonly muted: import("chalk").ChalkInstance;
readonly accent: import("chalk").ChalkInstance;
readonly ai: import("chalk").ChalkInstance;
};
export declare const gradients: GradientUtils;
export declare const style: {
readonly title: (text: string) => string;
readonly subtitle: (text: string) => string;
readonly header: (text: string) => string;
readonly success: (text: string) => string;
readonly error: (text: string) => string;
readonly warning: (text: string) => string;
readonly info: (text: string) => string;
readonly selected: (text: string) => string;
readonly unselected: (text: string) => string;
readonly checked: (text: string) => string;
readonly unchecked: (text: string) => string;
readonly key: (text: string) => string;
readonly value: (text: string) => string;
readonly path: (text: string) => string;
readonly version: (text: string) => string;
readonly command: (text: string) => string;
readonly muted: (text: string) => string;
readonly ai: (text: string) => string;
readonly edge: (text: string) => string;
readonly database: (text: string) => string;
};
export declare const box: {
readonly info: (content: string, title?: string) => string;
readonly success: (content: string, title?: string) => string;
readonly error: (content: string, title?: string) => string;
readonly warning: (content: string, title?: string) => string;
readonly note: (content: string, title?: string) => string;
};
export declare const table: {
readonly create: (headers: string[], options?: any) => Table.Table;
readonly dependencies: () => Table.Table;
readonly features: () => Table.Table;
};
export declare const layout: {
readonly spacing: {
readonly small: "\n";
readonly medium: "\n\n";
readonly large: "\n\n\n";
};
readonly separator: (char?: string, width?: number) => string;
readonly indent: (content: string, level?: number) => string;
readonly columns: (data: Array<{
key: string;
value: string;
}>, keyWidth?: number) => string;
};
export declare const progress: {
readonly dots: (current: number, total: number) => string;
readonly percentage: (current: number, total: number) => string;
readonly fraction: (current: number, total: number) => string;
};
export declare const banner: {
readonly ait3e: () => string;
readonly simple: (title: string, subtitle?: string) => string;
};