import type { Context } from '@opentelemetry/api';
import { SpanKind } from '@opentelemetry/api';
import type { Sampler, SamplingResult } from '@opentelemetry/sdk-trace-base';
import type { Client, SpanAttributes } from '@sentry/types';
/**
 * A custom OTEL sampler that uses Sentry sampling rates to make its decision
 */
export declare class SentrySampler implements Sampler {
    private _client;
    constructor(client: Client);
    /** @inheritDoc */
    shouldSample(context: Context, traceId: string, spanName: string, spanKind: SpanKind, spanAttributes: SpanAttributes, _links: unknown): SamplingResult;
    /** Returns the sampler name or short description with the configuration. */
    toString(): string;
}
//# sourceMappingURL=sampler.d.ts.map