import type { Faro, Subscription, UserActionInterface } from '@grafana/faro-core';
export declare function getUserEventHandler(faro: Faro): {
    processUserEvent: (event: PointerEvent | KeyboardEvent) => void;
    processUserActionStarted: (userAction: UserActionInterface) => void;
};
export declare function getUserActionNameFromElement(element: HTMLElement, dataAttributeName: string): string | undefined;
export declare function unsubscribeAllMonitors(allMonitorsSub: Subscription | undefined): void;
