import { TestSpecResult, ReporterFormat } from '../types/benchmark-config'
import { UserBenchmarkConfig } from '../types/user-benchmark-config'
/**
 * Creates a reporter based on the specified options.
 *
 * @param results - An array of results for all test specifications.
 * @param userConfig - The user's benchmark configuration.
 * @param format - The format of the report.
 * @returns The formatted report as a string.
 */
export declare function createReporter(
  results: TestSpecResult[],
  userConfig: UserBenchmarkConfig,
  format?: ReporterFormat,
): Promise<string>
