import type { Resource } from '@opentelemetry/resources'; import type { ReadableSpan } from '@opentelemetry/sdk-trace-base'; export declare function withResource(span: ReadableSpan, resource: Resource): ReadableSpan;