import type { AttributeValue } from "@opentelemetry/api"; import type { MaskingRuleArgs } from "./types"; /** * A function that masks (redacts or removes) sensitive information from span attributes based on the trace config. * @param params - The masking parameters * @param params.config - The TraceConfig to use to determine if the value should be masked * @param params.key - The key of the attribute to mask * @param params.value - The value of the attribute to mask * @returns The redacted value or undefined if the value should be masked, otherwise the original value */ export declare function mask({ config, key, value }: MaskingRuleArgs): AttributeValue | undefined; //# sourceMappingURL=maskingRules.d.ts.map