import { CreateUIAnalyticsEvent } from '@uidu/analytics';
import { PluginKey } from 'prosemirror-state';
import { EditorPlugin } from '../../types';
import { AnalyticsEventPayload } from './types';
export declare const analyticsPluginKey: PluginKey<any>;
declare const analyticsPlugin: (createAnalyticsEvent?: CreateUIAnalyticsEvent) => EditorPlugin;
export declare function extendPayload(payload: AnalyticsEventPayload, duration: number): AnalyticsEventPayload;
export default analyticsPlugin;
