import type { AnyValue } from "@opentelemetry/api-logs";
export type PIISource = "trace" | "log" | "metric";
/**
 * Cleans a string by redacting email addresses and emitting metrics for PII.
 *
 * If the string is URL-encoded, it will be decoded before redaction.
 * Metrics are emitted for each domain found in redacted email addresses.
 *
 * @param {string} value - The input string to sanitize.
 * @param {"trace" | "log"} source - The source context of the input, used in metrics.
 * @returns {string} The cleaned string with any email addresses replaced by `[REDACTED EMAIL]`.
 */
export declare function _cleanStringPII(value: AnyValue, source: PIISource): AnyValue;
export declare function _cleanObjectPII(entry: object, source: PIISource): {
    [k: string]: AnyValue;
};
export declare function _cleanLogBodyPII(value: AnyValue): AnyValue;
