import type { Trace } from '../commun/contrat.js'; import type { TableCoefficients } from '../commun/coefficients.js'; import type { Fourchette } from '../commun/argent.js'; import type { EauConfig, EntreePluie } from './types.js'; export interface TailleSerie { volume_m3: number; couverture_moyenne: number; couverture_annee_defavorable: number | null; soutirage_l_j: number; } export interface ResultatSerie { niveau: 'A' | 'B'; pluie_annuelle_mm: number; cref: number | null; volume_l: Fourchette | null; tailles: TailleSerie[]; motif: string | null; } export interface ContexteSerie { S: number; k: number; besoinJour: number; c: TableCoefficients; cfg: EauConfig | undefined; trace: Trace; } export declare function niveauDepuisSerie(_pluie: EntreePluie, ctx: ContexteSerie): ResultatSerie | null;