import { UserBenchmarkConfig } from '../../types/user-benchmark-config'
interface LoadConfigResult {
  /** The loaded configuration object. */
  config: UserBenchmarkConfig
  /** The path to the configuration file. */
  filepath: string
}
/**
 * Load the configuration for the benchmark from the current working directory.
 * Searches for configuration files in various formats in the `benchmark`
 * directory.
 *
 * @param configPath - Optional path to the configuration file.
 * @returns Load configuration result.
 */
export declare function loadConfig(
  configPath?: string,
): Promise<LoadConfigResult>
export {}
