import type { Resource } from "@opentelemetry/resources";
import { MeterProvider } from "@opentelemetry/sdk-metrics";
import { type SpanProcessor } from "@opentelemetry/sdk-trace-base";
/**
 * @description Builds a batching span processor that ships spans to an OTLP/HTTP endpoint.
 * @param endpoint {string} - OTLP base URL; `/v1/traces` is appended.
 * @returns {SpanProcessor | null} The processor, or `null` (after a warning) when the exporter cannot be created.
 */
export declare function createOtlpSpanProcessor(endpoint: string): SpanProcessor | null;
/**
 * @description Builds a meter provider that exports metrics to an OTLP/HTTP endpoint and registers it as the global meter provider.
 * @param endpoint {string} - OTLP base URL; `/v1/metrics` is appended.
 * @param resource {Resource} - Resource describing the service.
 * @returns {MeterProvider | null} The provider, or `null` (after a warning) when it cannot be created.
 */
export declare function createOtlpMeterProvider(endpoint: string, resource: Resource): MeterProvider | null;
