/** * Service for rendering background elements and calculating particle properties */ import type { Dimensions, GradientStop } from "../domain/types.js"; export interface IBackgroundRenderingService { /** * Draws a gradient background on the canvas context */ drawGradient(ctx: CanvasRenderingContext2D, dimensions: Dimensions, gradientStops: readonly GradientStop[]): void; /** * Calculates the appropriate number of particles based on dimensions, density and quality */ calculateParticleCount(dimensions: Dimensions, baseDensity: number, quality: "high" | "medium" | "low"): number; /** * Determines if seasonal features should be enabled based on current date */ shouldEnableSeasonalFeatures(): boolean; } //# sourceMappingURL=IBackgroundRenderingService.d.ts.map