export type Traces = {
    resourceSpans: ResourceSpan[];
};
export type ResourceSpan = {
    resource: Resource;
    scopeSpans: ScopeSpan[];
};
export type Resource = {
    attributes: Attribute[];
};
export type ScopeSpan = {
    spans: Span[];
};
export type Span = {
    name: string;
    startTimeUnixNano: string;
    endTimeUnixNano: string;
    attributes: Attribute[];
};
export type Attribute = StringAttribute | IntAttribute;
export type StringAttribute = {
    key: string;
    value: {
        stringValue: string;
    };
};
export type IntAttribute = {
    key: string;
    value: {
        intValue: number;
    };
};
export type OptionalAttribute = Attribute | undefined;
export type EventAttribute = Map<string, Attribute>;
export declare function toAttribute(key: string, value: number | string | undefined | null): OptionalAttribute;
export declare function getAttributesStringValue(attr?: Attribute): string | undefined;
export declare function getAttributesIntValue(attr?: Attribute): number | undefined;
//# sourceMappingURL=otlp.d.ts.map