UNPKG

@kya-os/cli

Version:

CLI for KYA-OS MCP-I setup and management

62 lines 1.88 kB
/** * Message Components * Reusable components for displaying various types of messages */ import { MessageOptions } from "./types.js"; /** * Create a success message */ export declare function createSuccessMessage(message: string, options?: MessageOptions): string; /** * Create an error message */ export declare function createErrorMessage(message: string, options?: MessageOptions): string; /** * Create a warning message */ export declare function createWarningMessage(message: string, options?: MessageOptions): string; /** * Create an info message */ export declare function createInfoMessage(message: string, options?: MessageOptions): string; /** * Create a step indicator */ export declare function createStepIndicator(currentStep: number, totalSteps: number, stepName: string, status?: "pending" | "active" | "completed" | "failed"): string; /** * Create a progress bar */ export declare function createProgressBar(current: number, total: number, width?: number, options?: { showPercentage?: boolean; showNumbers?: boolean; }): string; /** * Create a list of items with bullets */ export declare function createBulletList(items: string[], options?: { bullet?: string; indent?: number; color?: string; }): string; /** * Create a numbered list */ export declare function createNumberedList(items: string[], options?: { startNumber?: number; indent?: number; color?: string; }): string; /** * Create a key-value display */ export declare function createKeyValueDisplay(data: Record<string, string | undefined>, options?: { separator?: string; keyColor?: string; valueColor?: string; maxKeyLength?: number; }): string; /** * Create a spinner with text (static version for display) */ export declare function createSpinner(text: string, frame?: number): string; //# sourceMappingURL=messages.d.ts.map