perf-lens
Version:
AI-powered frontend performance optimizer
15 lines • 743 B
TypeScript
import type { PerflensConfig } from '../types/config';
export declare const DEFAULT_CONFIG: PerflensConfig;
/**
* Loads ignore patterns from a .perflensignore file in the specified directory
* @param {string} [cwd=process.cwd()] - The directory to look for the ignore file
* @returns {string[]} Array of ignore patterns
*/
export declare function loadIgnorePatterns(cwd?: string): string[];
/**
* Loads and validates the PerfLens configuration from various sources
* @param {string} [configPath] - Optional path to a specific config file
* @returns {Promise<PerflensConfig>} The validated and merged configuration
*/
export declare function loadConfig(configPath?: string): Promise<PerflensConfig>;
//# sourceMappingURL=config.d.ts.map