import type { LangfuseAttributePolicy, SpanAttributes } from "../types/index.js";
/**
 * @description Applies the exporter's policy to a span's attributes: fills environment and release when the span has none, removes input and output when `redactIO` is set, and masks input, output and metadata when a mask is configured.
 * @param attributes {SpanAttributes} - Attributes of the span being exported.
 * @param policy {LangfuseAttributePolicy} - Environment, release, redaction and mask settings.
 * @returns {SpanAttributes} A new attribute record; the input is not modified.
 */
export declare function protectAttributes(attributes: SpanAttributes, policy: LangfuseAttributePolicy): SpanAttributes;
