import { ResourceDetectionConfig } from "../config.cjs"; import { DetectedResource } from "../types.cjs"; import { ResourceAttributesEnvDetector } from "./ResourceAttributesEnvDetector.cjs"; //#region src/detectors/EnvDetector.d.ts /** * EnvDetector reads attributes from OTEL_RESOURCE_ATTRIBUTES and * OTEL_SERVICE_NAME. * * @deprecated Use {ResourceAttributesEnvDetector} and {ServiceNameEnvDetector} */ declare class EnvDetector extends ResourceAttributesEnvDetector { /** * Returns a {@link Resource} populated with attributes from the * OTEL_RESOURCE_ATTRIBUTES environment variable. Note this is an async * function to conform to the Detector interface. * * @param config The resource detection config */ detect(_config?: ResourceDetectionConfig): DetectedResource; } /** * @deprecated Use {resourceAttributesEnvDetector} and {serviceNameEnvDetector} */ declare const envDetector: EnvDetector; //#endregion export { envDetector }; //# sourceMappingURL=EnvDetector.d.cts.map