export declare const OTEL_EXPORTER_OTLP_ENDPOINT = "OTEL_EXPORTER_OTLP_ENDPOINT"; export declare const OTEL_EXPORTER_OTLP_TRACES_ENDPOINT = "OTEL_EXPORTER_OTLP_TRACES_ENDPOINT"; export declare const OTEL_EXPORTER_OTLP_METRICS_ENDPOINT = "OTEL_EXPORTER_OTLP_METRICS_ENDPOINT"; export type OtlpEndpointEnvName = typeof OTEL_EXPORTER_OTLP_ENDPOINT | typeof OTEL_EXPORTER_OTLP_TRACES_ENDPOINT | typeof OTEL_EXPORTER_OTLP_METRICS_ENDPOINT; export type OtlpExporterDisabledReason = 'observability-disabled' | 'endpoint-unset'; export type OtlpExporterEndpointSource = { kind: 'env'; name: OtlpEndpointEnvName; } | { kind: 'derived'; from: typeof OTEL_EXPORTER_OTLP_ENDPOINT; }; export type OtlpSignalExporterConfig = { endpoint: string; source: OtlpExporterEndpointSource; }; export type EnabledOtlpExporterConfig = { enabled: true; endpoint: string; endpointSource: { kind: 'env'; name: typeof OTEL_EXPORTER_OTLP_ENDPOINT; }; traces: OtlpSignalExporterConfig; metrics: OtlpSignalExporterConfig; }; export type DisabledOtlpExporterConfig = { enabled: false; reason: OtlpExporterDisabledReason; }; export type OtlpExporterConfig = EnabledOtlpExporterConfig | DisabledOtlpExporterConfig; export type OtlpExporterConfigInput = { observabilityEnabled: boolean; env: OtlpEnvironment; }; export type OtlpEnvironment = Record; export declare function isOtlpEndpointEnvName(name: string): name is OtlpEndpointEnvName; export declare function resolveOtlpExporterConfigFromEnv(observabilityEnabled: boolean): OtlpExporterConfig; export declare function resolveOtlpExporterConfig(input: OtlpExporterConfigInput): OtlpExporterConfig; //# sourceMappingURL=otlp.d.ts.map