import { BotonicContext } from '@botonic/core';
import { EventAction, HtEventProps } from '@botonic/shared';
import { FlowBuilderApi } from './api';
import type { FlowContent } from './content-fields';
export declare function trackEvent(botonicContext: BotonicContext, eventAction: EventAction, args?: Omit<HtEventProps, 'action'>): Promise<void>;
export declare function trackFlowContent(botonicContext: BotonicContext, contents: FlowContent[]): Promise<void>;
export declare function trackOneContent(botonicContext: BotonicContext, content: FlowContent, cmsApi?: FlowBuilderApi): Promise<void>;
type CommonFlowContentEventArgs = {
    flowThreadId: string;
    flowId: string;
    flowName: string;
    flowNodeId: string;
    flowNodeContentId: string;
};
export declare function getCommonFlowContentEventArgsForContentId(botonicContext: BotonicContext, id: string): Promise<CommonFlowContentEventArgs>;
export {};
