import { Argv } from 'yargs'; import { IOFormat } from '../io-util.js'; import { TableFieldDefinition, TableGenerator } from '../table-generator.js'; export declare const sort: (list: L[], keyName?: Extract) => L[]; export type CalculateOutputFormatFlags = { output?: string; json?: boolean; yaml?: boolean; }; export declare const calculateOutputFormatBuilder: (yargs: Argv) => Argv; export declare const calculateOutputFormat: (flags: CalculateOutputFormatFlags, defaultIOFormat?: IOFormat) => IOFormat; export type OutputFormatter = (data: T) => string; export declare const jsonFormatter: (indent: number) => OutputFormatter; export declare const yamlFormatter: (indent: number) => OutputFormatter; export declare const itemTableFormatter: (tableGenerator: TableGenerator, fieldDefinitions: TableFieldDefinition[]) => OutputFormatter; export declare const listTableFormatter: (tableGenerator: TableGenerator, fieldDefinitions: TableFieldDefinition[], includeIndex?: boolean) => OutputFormatter; export declare const writeOutput: (dataStr: string, filename?: string) => Promise; //# sourceMappingURL=output.d.ts.map