/** * @portel/core * * Universal utilities for CLI tools, formatters, and interactive applications. * Zero MCP or Photon dependencies - pure utility functions. * * Used by: * - NCP (MCP orchestrator) * - Photon CLI * - Lumina * - Any CLI tool needing beautiful output * * @example * ```typescript * import { formatOutput, startSpinner, FuzzyMatcher } from '@portel/core'; * * // Format data as table * formatOutput([{ name: 'Alice', age: 30 }, { name: 'Bob', age: 25 }], 'table'); * * // Show progress spinner * startSpinner('Processing...'); * // ... do work ... * stopProgress(); * * // Fuzzy matching * const matcher = new FuzzyMatcher(); * const suggestions = matcher.findSuggestions('helo', ['hello', 'help', 'world']); * ``` */ export type { TextWrapOptions, FuzzyMatch, ExecutionContext, CallerInfo, LogLevel, LoggerOptions, } from './types.js'; export { formatOutput, detectFormat, renderPrimitive, renderList, renderTable, renderTree, renderCard, renderTabs, renderAccordion, renderNone, formatKey, formatValue, formatToMimeType, printSuccess, printError, printInfo, printWarning, printHeader, STATUS, } from './cli-formatter.js'; export { ProgressRenderer, getProgressRenderer, startSpinner, showProgress, updateProgressMessage, stopProgress, isProgressActive, } from './progress.js'; export { executionContext, runWithContext, getContext, } from './context.js'; export { TextUtils } from './text-utils.js'; export { FuzzyMatcher, fuzzyMatch, fuzzyScore, findBestMatch, } from './fuzzy-matcher.js'; export { Logger, createLogger, getLogger, } from './logger.js'; //# sourceMappingURL=index.d.ts.map