import type { Fourchette } from '../commun/argent.js'; import type { TableCoefficients } from '../commun/coefficients.js'; export type Paroi = 'toit' | 'murs' | 'sol' | 'cheminee'; export type FamilleIsolant = 'biosource' | 'mineral' | 'synthetique'; /** Les sept critères de la présentation 2024 p. 25. */ export type Critere = 'performance' | 'dephasage' | 'perspirance' | 'energie_grise' | 'durabilite' | 'prix_entreprise' | 'prix_autoconstruction'; export declare const CRITERES: readonly Critere[]; export interface FourchetteNullable { min: number | null; max: number | null; } export interface Isolant { code: string; libelle: string; famille: FamilleIsolant; lambda_w_mk: number | null; rho_kg_m3?: number | null; c_j_kgk?: number | null; mu?: number | null; energie_grise_kwh_m3?: number | null; carbone_kgco2e_m2_r1?: number | null; duree_vie_ans?: number | null; prix_fourniture_100mm_eur_m2?: FourchetteNullable | null; pose_autoconstruction?: boolean | null; vigilance?: string | null; source: string; source_date: string; source_verifiee: boolean; a_completer?: string[]; } export interface TechniqueIsolation { code: string; paroi: Paroi; technique: string; r_min_reglementaire_h1?: number | null; r_vise_aides?: number | null; epaisseur_type_mm?: number | null; /** Prix entreprise fourni-posé (€/m² TTC), fourchette ; null pour la cheminée. */ pose_entreprise_eur_m2: FourchetteNullable; /** Prix entreprise à l'unité (cheminée). */ pose_entreprise_eur_unite?: FourchetteNullable | null; heures_autoconstruction_m2?: number | null; isolants_compatibles: string[]; part_pro_obligatoire: boolean; part_pro_detail?: string | null; vigilance?: string | null; source: string; source_date: string; source_verifiee: boolean; a_completer?: string[]; } export interface DonneesIsolation { isolants: Isolant[]; techniques_isolation: TechniqueIsolation[]; coefficients?: TableCoefficients; } /** Une fourchette fermée, ou null quand la donnée manque. */ export type FourchetteOuNull = Fourchette | null;