import type { PuristaMetricAttributes } from './types.js'; /** * Checks whether a metric attribute key follows PURISTA's low-cardinality policy. * * @example * ```ts * isAllowedMetricAttributeKey('purista.command.name') // true * isAllowedMetricAttributeKey('trace_id') // false * ``` */ export declare const isAllowedMetricAttributeKey: (key: string) => boolean; /** * Normalizes metric attributes by keeping only safe scalar attributes. * * @example * ```ts * const { attributes } = validateMetricAttributes({ channel: 'web', trace_id: 'drop' }) * ``` */ export declare const validateMetricAttributes: (attributes?: Record) => { attributes: PuristaMetricAttributes; droppedAttributeKeys: string[]; }; export declare const mergeMetricAttributes: (defaultAttributes?: PuristaMetricAttributes, attributes?: PuristaMetricAttributes) => { attributes: PuristaMetricAttributes; droppedAttributeKeys: string[]; }; //# sourceMappingURL=attributePolicy.d.ts.map