import { AnyValue, KeyValue } from "../../../types/otlp";
type PrimitiveAttributeValue = string | number | boolean;
export type AttributeValueType = PrimitiveAttributeValue | Array<PrimitiveAttributeValue> | Record<string, PrimitiveAttributeValue>;
export declare function toAnyValue(value: AttributeValueType | AnyValue): AnyValue;
export declare function toAnyValue(value?: AttributeValueType | AnyValue): AnyValue | undefined;
export declare function toKeyValue(key: string, value: AttributeValueType | AnyValue): KeyValue;
export declare function addAttribute(attributes: KeyValue[], key: string, value: AttributeValueType | AnyValue): void;
export declare function removeAttribute(attributes: KeyValue[], key: string): void;
export {};
