import type { Logger } from '../use-cases/ports/logger.js'; import type { ErrorSource } from './error-hints.js'; type OutputFormat = 'text' | 'json'; declare const render: (data: unknown, logger: Logger, format: OutputFormat) => void; declare const renderError: (message: string, format: OutputFormat, errorCode?: string, explicitSource?: ErrorSource) => void; export { render, renderError }; export type { OutputFormat };