UNPKG

kawkab-frontend

Version:

Kawkab frontend is a frontend library for the Kawkab framework

46 lines (45 loc) 1.61 kB
export interface CustomMessages { startup: { title: (name?: string) => string; subtitle: (env?: string) => string; local: (port?: number) => string; network: (port?: number) => string; ready: () => string; }; nodemon: { start: (server?: string) => string; restart: (server?: string) => string; crash: (error?: string) => string; exit: (server?: string) => string; watching: (files?: string) => string; }; vite: { configLoaded: (config?: string) => string; buildStart: (process?: string) => string; buildEnd: (result?: string) => string; serverReady: (server?: string) => string; hmr: (type?: string) => string; }; errors: { buildFailed: (reason?: string) => string; serverError: (error?: string) => string; fileNotFound: (file?: string) => string; }; success: { buildComplete: (result?: string) => string; serverRunning: (server?: string) => string; filesGenerated: (count?: string) => string; }; } export declare const customMessages: CustomMessages; export declare function printWelcomeMessage(projectName?: string, port?: number): void; export declare function printStatusMessage(type: string, message: string, timestamp?: string | null): void; export interface SystemInfo { platform: string; nodeVersion: string; workingDir: string; memory: NodeJS.MemoryUsage; uptime: number; } export declare function getSystemInfo(): SystemInfo; export declare function printSystemInfo(): void;