/**
 * Performance budget system — barrel export.
 *
 * Provides budget definitions, the PerfMonitor class for metric collection
 * and budget evaluation, and the reporter for CI/console output.
 *
 * @example
 * ```ts
 * import { createPerfMonitor, DEFAULT_BUDGETS } from './perf/index.js';
 *
 * const monitor = createPerfMonitor();
 * const report = monitor.evaluate(snapshot);
 * ```
 */
export { DEFAULT_BUDGETS } from '@pellux/goodvibes-sdk/platform/runtime/perf/budgets';
export { PerfMonitor } from '@pellux/goodvibes-sdk/platform/runtime/perf/monitor';
export { formatReport, exitCode } from '@pellux/goodvibes-sdk/platform/runtime/perf/reporter';
export { SloCollector, SLO_METRICS } from './slo-collector.js';
export { CATEGORY_CONTRACTS, buildContract, createInitialPanelHealthState, } from '@pellux/goodvibes-sdk/platform/runtime/perf/panel-contracts';
export { PanelHealthMonitor, } from '@pellux/goodvibes-sdk/platform/runtime/perf/panel-health-monitor';
import { PerfMonitor } from '@pellux/goodvibes-sdk/platform/runtime/perf/monitor';
import { DEFAULT_BUDGETS } from '@pellux/goodvibes-sdk/platform/runtime/perf/budgets';
/**
 * Factory function that creates a PerfMonitor with the default budgets.
 * Pass a custom budgets array to override defaults.
 *
 * @param budgets - Optional custom budget definitions.
 * @returns A new PerfMonitor instance ready for evaluation.
 */
export function createPerfMonitor(budgets = DEFAULT_BUDGETS) {
    return new PerfMonitor(budgets);
}
