import { BaseSpanAttribute, IBaseSpanAttributeOptions } from "apaas-track/index"; export interface ISpanAttributeOptions extends IBaseSpanAttributeOptions { pagecode: string; pagename: string; protocol: Record; } export declare abstract class SpanAttribute extends BaseSpanAttribute { name: string; type: string; groupid: string; pagecode: string; pagename: string; protocol: Record; abstract setInfo(info: any): void; constructor(options: ISpanAttributeOptions); getAttributes(): { type: string; groupid: string; pagecode: string; pagename: string; protocol: Record; }; } export declare class EventSpanAttribute extends SpanAttribute { type: string; eventcode: string; eventname: string; params: Record; getAttributes(): { type: string; evencode: string; eventname: string; params: Record; groupid: string; pagecode: string; pagename: string; protocol: Record; }; setInfo(info: { eventcode: string; eventname: string; params?: Record; }): void; } export declare class ActionSpanAttribute extends SpanAttribute { type: string; eventcode: string; actioncode: string; actionname: string; actiontype: string; actionresult: 'YES' | 'ERROR'; setInfo(info: any): void; setCommonInfo(info: { eventcode: string; actioncode: string; actionname: string; actiontype: string; }): void; setErrorStatus(): void; getAttributes(): { type: string; eventcode: string; actioncode: string; actionname: string; actiontype: string; actionresult: "ERROR" | "YES"; groupid: string; pagecode: string; pagename: string; protocol: Record; }; }