import { styleText as utilStyleText } from 'node:util'; import type { LoadedConfig } from './config/index.ts'; import type { Command } from './index.ts'; import type { View, Views } from './view.ts'; export declare const stdout: (...args: unknown[]) => void; export declare const stderr: (...args: unknown[]) => void; type StyleTextFn = (format: Parameters[0], s: string) => string; export declare let styleTextStdout: StyleTextFn; export declare let styleTextStderr: StyleTextFn; export declare const getView: (conf: LoadedConfig, views?: Views) => View; export type OnDone = (result: T) => Promise; /** * Main export. Run the command appropriately, displaying output using * the user-requested view, or the default if the user requested a view * that is not defined for this command. */ export declare const outputCommand: (cliCommand: Command, conf: LoadedConfig, { start, vltVersion }?: { start: number; vltVersion?: string; }) => Promise; export {};