import { ComponentType } from './components.ts'; import type { CacheConfig, ClientConfig, DatabaseConfig, LoadBalancerConfig, QueueConfig, ServerConfig, ThrottleConfig } from './configs.ts'; import type { FailureScenario } from './failures.ts'; import type { Architecture, ConnectionDefinition, SimulationConfig } from './models.ts'; type ComponentEntry = { id: string; type: TType; config: TConfig; }; /** Low-level, ID-based component representation used by Scenario.fromJSON(). */ export type ComponentJSON = ComponentEntry | ComponentEntry | ComponentEntry | ComponentEntry | ComponentEntry | ComponentEntry | ComponentEntry; /** Canonical low-level document emitted by Scenario.toJSON(). */ export interface ScenarioJSON { schemaVersion: 1; name: string; seed: number; endTime: number; metricsWindowSize: number; components: ComponentJSON[]; connections: ConnectionDefinition[]; failureScenarios: FailureScenario[]; } /** Existing stability-sim save-file representation accepted by Scenario.fromJSON(). */ export interface SavedScenarioJSON { schemaVersion?: number; architecture: Architecture; simulationConfig: SimulationConfig; } export {}; //# sourceMappingURL=scenario.d.ts.map