import { BreakdownPosition } from "./pcf"; export declare type LinkOrAction = string | (() => any); export declare const activateLinkOrAction: (linkOrAction: LinkOrAction) => void; export declare type ModalType = "custom" | "learn-more"; declare type WithGramsAndOrPercentage = { percentage?: number; grams?: number; }; export declare type BenchmarkFactor = "materials" | "europe" | "renewable_energy"; export declare type GeneralBreakdownDetails = { name: string; totalFootprintGrams: number; accuracy: number; }; export declare type MaterialBreakdown = GeneralBreakdownDetails & { location: string; weightInGrams: number; emissionFactor: number; percentageWithinMaterials: number; }; export declare type ManufacturingBreakdown = GeneralBreakdownDetails & { location: string; kWhEnergyConsumption: number; electricityCo2Intensity: number; }; export declare type TransportBreakdown = GeneralBreakdownDetails & { cargoType: string; totalDistanceInKm: number; transportMeans: string[]; }; export declare type PackagingBreakdown = GeneralBreakdownDetails & { location: string; weightInGrams: number; emissionFactor: number; }; export declare type GeneralCarbonBreakdown = WithGramsAndOrPercentage & { benchmarkComparison?: WithGramsAndOrPercentage; }; export declare type CarbonBreakdownValue = GeneralCarbonBreakdown & ({ label: "materials"; details?: MaterialBreakdown[]; } | { label: "manufacturing"; details?: ManufacturingBreakdown[]; } | { label: "transport"; details?: TransportBreakdown[]; } | { label: "packaging"; details?: PackagingBreakdown[]; }); export declare type CarbonBreakdown = Array; export declare type CarbonBreakdownLocaleKey = BreakdownPosition; export declare type CarbonBreakdownLocalization = { [key in CarbonBreakdownLocaleKey]?: string; }; export declare type CarbonFootprint = { totalFootprintGrams: number; accuracy: { label: string; value: string; percentage: number; }; breakdown: CarbonBreakdown; benchmarkComparison?: WithGramsAndOrPercentage; benchmarkFactors?: Array<{ type: BenchmarkFactor; label: string; }>; }; export declare type CarbonBreakdownSorting = "none" | "positions" | "values"; export declare type PcfType = "benchmarked" | "compensated"; export {};