import { type Attributes, type Context, type DiagLogger, type Link, SpanKind } from "@opentelemetry/api"; import { type Sampler, type SamplingResult } from "@opentelemetry/sdk-trace-base"; import { oboe } from "@solarwinds-apm/bindings"; import { type SwConfiguration } from "./config"; export declare class SwSampler implements Sampler { private readonly config; private readonly logger; private readonly oboeDecisionFunction; private readonly recordMetricsFunction; constructor(config: SwConfiguration, logger: DiagLogger, serverlessApi: oboe.OboeAPI | undefined); shouldSample(parentContext: Context, _traceId: string, spanName: string, spanKind: SpanKind, attributes: Attributes, _links: Link[]): SamplingResult; toString(): string; private oboeDecisions; private tracingMode; private static otelSamplingDecisionFromOboe; private static traceState; private static updateTraceState; private static traceOptionsResponse; private static attributes; } //# sourceMappingURL=sampler.d.ts.map