import { IFlagshipConfig } from '../config/IFlagshipConfig';
import { ActionTrackingData, LocalActionTracking, SharedActionTrackingParam } from '../type.local';
import { VisitorAbstract } from '../visitor/VisitorAbstract';
import { ISharedActionTracking } from './ISharedActionTracking';
export declare class SharedActionTracking implements ISharedActionTracking {
    private visitor;
    private onMessageReceived?;
    protected trustedNonces: Record<string, boolean>;
    protected initTimestamp?: number;
    protected sdkConfig: IFlagshipConfig;
    constructor({ sdkConfig }: SharedActionTrackingParam);
    generateNonce(): string | undefined;
    initialize(visitor: VisitorAbstract): void;
    protected processHit(hit: ActionTrackingData): Promise<void>;
    private handleMessage;
    dispatchEventHits(hits: LocalActionTracking[]): void;
}
