import type { JourneyEvent, TagValue } from './types'; /** Match Datadog metric-tag value rules so RUM attributes / globals join derived SLO tags. */ export declare function normalizeTagValue(value: string): string; export declare function emptyRecord(): Record; export interface CopyRecordOptions { maxKeys: number; /** When true, keys are run through {@link normalizeTagValue} (sink / wire). */ normalizeKeys?: boolean; /** When true (default), string values are normalized. */ normalizeStringValues?: boolean; } /** * Own-key copy onto a null-prototype object. Skips unsafe keys and excess keys. */ export declare function copyRecord(src: Record | undefined, options: CopyRecordOptions): Record; /** Merge `src` into `target` (null-prototype), honouring caps and unsafe-key skips. */ export declare function assignRecord(target: Record, src: Record | undefined, maxKeys: number): void; export declare function setSafeAttribute(attributes: Record, key: string, value: string | number | boolean): void; /** Default-sink payload: normalized keys/names, capped maps, no unsafe keys. */ export declare function sanitizeJourneyEvent(event: JourneyEvent): JourneyEvent; /** True when payload already passed through sanitizeJourneyEvent. */ export declare function isSanitizedJourneyEvent(event: JourneyEvent): boolean; //# sourceMappingURL=sanitize.d.ts.map