import type { Command } from 'commander'; import type { CampaignAnalyticsStep, PaginationMeta, StepAnalytic } from './types.js'; export declare function isJsonMode(cmd: Command): boolean; export declare function printJson(data: unknown): void; export declare function printTable(headers: string[], rows: string[][]): void; export declare function printDetail(pairs: [string, unknown][]): void; export declare function printSuccess(message: string): void; export declare function printError(message: string): void; export declare function printWarning(message: string): void; export declare function printCount(label: string, count: number, total?: number): void; export declare function printPagination(fetched: number, pagination?: PaginationMeta): void; export declare function truncateId(id: string, _len?: number): string; export declare function formatStatus(status: string): string; export declare function formatRate(value: number | undefined, total: number | undefined): string; export declare function formatNumberWithRate(value: number | undefined, total: number | undefined): string; export declare function formatNumber(n: number | undefined): string; /** * Render the grouped step-by-step breakdown returned by the campaign analytics * endpoints. Prefers the rich `steps[]` shape (one row per step with nested * variants); falls back to the flat `StepAnalytic[]` shape for older API * responses. */ export declare function printStepBreakdown(steps: CampaignAnalyticsStep[] | undefined, fallback?: StepAnalytic[]): void;