import type { AllowedInfoValues, UIPrimitives } from '../types.ts';
/**
 * Info formatter is used to format the kernel info key-value pairs into a table
 *
 * @example
 * ```ts
 * const formatter = new InfoFormatter(infoMap, colors)
 * const rows = formatter.format() // ['binary ──── node ace', 'version ──── 1.0.0']
 * ```
 */
export default class InfoFormatter {
    #private;
    /**
     * Create a new info formatter
     *
     * @param info - Map of info key-value pairs
     * @param colors - Color utilities for output formatting
     */
    constructor(info: Map<string, AllowedInfoValues>, colors: UIPrimitives['colors']);
    /**
     * Formats the info map into an array of formatted table rows
     *
     * @example
     * ```ts
     * formatter.format() // ['binary ──── node ace', 'version ──── 1.0.0']
     * ```
     */
    format(): string[];
}
