/** * SLO/SLI Default Configuration * * Predefined SLOs and SLIs for common quality metrics. * Factory functions for creating standard configurations. */ import type { SLO, SLI, SLOConfig } from './types.js'; /** * Default time windows in milliseconds */ export declare const TimeWindows: { HOUR: number; DAY: number; WEEK: number; MONTH: number; QUARTER: number; }; /** * Create default SLO configuration */ export declare function createDefaultSLOConfig(): SLOConfig; /** * Create strict SLO configuration (enterprise/production) */ export declare function createStrictSLOConfig(): SLOConfig; /** * Create relaxed SLO configuration (development) */ export declare function createRelaxedSLOConfig(): SLOConfig; /** * Default: Test Quality SLO (95% pass rate over 30 days) */ export declare function createDefaultTestQualitySLO(): SLO; /** * Default: API Success Rate SLO (99.9% over 30 days) */ export declare function createDefaultAPISuccessSLO(): SLO; /** * Default: Performance SLO (p95 latency < 500ms) */ export declare function createDefaultPerformanceSLO(): SLO; /** * Strict: Test Quality SLO (98% pass rate) */ export declare function createStrictTestQualitySLO(): SLO; /** * Strict: API Success Rate SLO (99.95%) */ export declare function createStrictAPISuccessSLO(): SLO; /** * Strict: Performance SLO (p95 latency < 200ms) */ export declare function createStrictPerformanceSLO(): SLO; /** * Relaxed: Test Quality SLO (90% pass rate) */ export declare function createRelaxedTestQualitySLO(): SLO; /** * Relaxed: API Success Rate SLO (99%) */ export declare function createRelaxedAPISuccessSLO(): SLO; /** * Relaxed: Performance SLO (p95 latency < 1000ms) */ export declare function createRelaxedPerformanceSLO(): SLO; /** * SLI: Test Pass Rate */ export declare function createTestPassRateSLI(): SLI; /** * SLI: API Success Rate */ export declare function createAPISuccessRateSLI(): SLI; /** * SLI: Latency (p95) */ export declare function createLatencySLI(): SLI; /** * Create custom SLO from parameters */ export declare function createCustomSLO(params: { name: string; description?: string; target: number; windowMs?: number; sliIds: string[]; tags?: string[]; owner?: string; }): SLO; /** * Create custom SLI from parameters */ export declare function createCustomSLI(params: { name: string; description?: string; type: SLI['type']; source: SLI['source']; queryString: string; aggregation: SLI['aggregation']; unit: SLI['unit']; threshold: { operator: SLI['threshold']['operator']; value: number; }; category?: SLI['category']; tags?: string[]; }): SLI;