/** * Load Profiler * * Runs load tests using k6, Artillery, or other tools. * Generates k6 scripts from YAML profile definitions. * * @module scanners/scale/load-profiler */ import { type LoadProfile, type LoadTestResult, type LoadTool } from "./types.js"; /** * Check if k6 is installed */ export declare function isK6Available(): Promise; /** * Check if Artillery is installed */ export declare function isArtilleryAvailable(): Promise; /** * Detect best available load testing tool */ export declare function detectLoadTool(): Promise; /** * Generate k6 script from load profile */ export declare function generateK6Script(profile: LoadProfile, baseUrl: string): string; /** * Load a profile from YAML file */ export declare function loadProfile(profilePath: string): Promise; /** * Discover all load profiles in a project */ export declare function discoverProfiles(projectPath: string): Promise>; /** * Run a load test with k6 */ export declare function runK6Test(profile: LoadProfile, baseUrl: string, options?: { timeout?: number; outputDir?: string; }): Promise; /** * Generate a sample load profile */ export declare function generateSampleProfile(projectPath: string, name?: string): Promise; //# sourceMappingURL=load-profiler.d.ts.map