/** A list of valid environments */ export declare const ENVIRONMENTS: readonly ["bench", "debug", "prod"]; /** * Defines the environment in whcih instrumentation in running. Traces can * be constrained to run only in certain environments. */ export type Environment = (typeof ENVIRONMENTS)[number]; /** * Takes an environment and returns true if it is valid for use i.e. * 'should this trace be executed? */ export type EnvironmentFilter = (env: Environment) => boolean; /** * @param treshold * @returns An environnment filter that returns true if the environment is greater * than or equal to the given threshold. */ export declare const envThresholdFilter: (treshold: Environment) => EnvironmentFilter; //# sourceMappingURL=environment.d.ts.map