@palmgrove/nefdb 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,5 @@
1
+ import type { EmissionFactor, FactorWithSource, MinimalFactor, QueryOptions } from "../types.js";
2
+ export interface AviationOptions extends QueryOptions {
3
+ rf?: boolean;
4
+ }
5
+ export declare function route(origin: string, destination: string, options?: AviationOptions): MinimalFactor | FactorWithSource | EmissionFactor | undefined;
@@ -0,0 +1,13 @@
1
+ import type { MinimalFactor, QueryOptions } from "../types.js";
2
+ export declare function petrol(options?: QueryOptions): MinimalFactor | undefined;
3
+ export declare function lpg(options?: QueryOptions): MinimalFactor | undefined;
4
+ export declare function cng(options?: QueryOptions): MinimalFactor | undefined;
5
+ export declare function naturalGas(options?: QueryOptions): MinimalFactor | undefined;
6
+ export declare function hfo(options?: QueryOptions): MinimalFactor | undefined;
7
+ export declare function diesel(options?: QueryOptions): {
8
+ per_litre: MinimalFactor;
9
+ per_kwh: {
10
+ rated: MinimalFactor | undefined;
11
+ field: MinimalFactor | undefined;
12
+ };
13
+ } | undefined;
@@ -0,0 +1,6 @@
1
+ import type { DisCo, EmissionFactor, FactorWithSource, MinimalFactor, QueryOptions } from "../types.js";
2
+ type Margin = "om" | "bm" | "cm" | "location";
3
+ export declare function national(options?: QueryOptions): MinimalFactor | FactorWithSource | EmissionFactor | undefined;
4
+ export declare function national(margin: Margin, options?: QueryOptions): MinimalFactor | FactorWithSource | EmissionFactor | undefined;
5
+ export declare function disco(name: DisCo, options?: QueryOptions): MinimalFactor | FactorWithSource | EmissionFactor | undefined;
6
+ export {};
@@ -0,0 +1,2 @@
1
+ import type { MinimalFactor, QueryOptions } from "../types.js";
2
+ export declare function road(fuel: "petrol" | "diesel", vehicle?: "car" | "motorcycle" | "bus" | "truck.small" | "truck.heavy", options?: QueryOptions): MinimalFactor | undefined;
@@ -0,0 +1,4 @@
1
+ import type { MinimalFactor, QueryOptions } from "../types.js";
2
+ export declare function msw(type: "landfill_managed" | "open_dump" | "open_burning", options?: QueryOptions): MinimalFactor | undefined;
3
+ export declare function composting(options?: QueryOptions): MinimalFactor | undefined;
4
+ export declare function wastewater(type: "domestic" | "industrial", options?: QueryOptions): MinimalFactor | undefined;
@@ -0,0 +1,3 @@
1
+ import type { MinimalFactor, QueryOptions } from "../types.js";
2
+ export declare function supply(options?: QueryOptions): MinimalFactor | undefined;
3
+ export declare function wastewater(options?: QueryOptions): MinimalFactor | undefined;
@@ -0,0 +1,2 @@
1
+ import type { EmissionFactor } from "../types.js";
2
+ export declare const aviationFactors: EmissionFactor[];
@@ -0,0 +1,2 @@
1
+ import type { EmissionFactor } from "../types.js";
2
+ export declare const fuelCombustionFactors: EmissionFactor[];
@@ -0,0 +1,2 @@
1
+ import type { EmissionFactor } from "../types.js";
2
+ export declare const gridElectricityFactors: EmissionFactor[];
@@ -0,0 +1,2 @@
1
+ import type { EmissionFactor } from "../types.js";
2
+ export declare const allFactors: EmissionFactor[];
@@ -0,0 +1,2 @@
1
+ import type { EmissionFactor } from "../types.js";
2
+ export declare const transportFactors: EmissionFactor[];
@@ -0,0 +1,2 @@
1
+ import type { EmissionFactor } from "../types.js";
2
+ export declare const wasteFactors: EmissionFactor[];
@@ -0,0 +1,2 @@
1
+ import type { EmissionFactor } from "../types.js";
2
+ export declare const waterFactors: EmissionFactor[];