/** * Chalk 5 is ESM-only. We load it via dynamic import and cache for use in CommonJS. * * More than one physical copy of this package can load in one process (e.g. pnpm). * Cache on globalThis via Symbol.for so loadChalk() from any copy warms getChalk() for all. */ export type ChalkInstance = typeof import('chalk').default; /** * Load chalk (ESM) and cache it. Call this once during CLI init before any chalk usage. */ export declare function loadChalk(): Promise; /** * Get the cached chalk instance. Must call loadChalk() first (e.g. in init hook). */ export declare function getChalk(): ChalkInstance;