import { BaseEvent } from "@trackunit/iris-app-runtime-core"; interface WidgetListItemClickedEvent extends BaseEvent { pageName: string; widgetName: string; /** * The clicked row's primary identifier — its meaning is determined by the * widget (e.g. asset ID for asset/attention/inspection/service lists, site * ID for the site list, customer ID for the excessive-usage list). Use * `widgetName` to disambiguate the entity type when querying in Amplitude. */ id: string; /** * Optional per-row category for widgets whose rows are typed (e.g. alert * subtype for the attention list, site type for the site list). Omit for * widgets without a natural per-row classification. */ type?: string; } export declare const MY_HOME_PAGE_NAME = "My Home"; type UseWidgetListItemClickAnalyticsResult = { trackWidgetListItemClick: (context: Pick) => void; }; /** * Track widget list item interactions with page and widget metadata. * * Fires the `Widget - List item clicked` Amplitude event with the page name * and the widget's `irisAppExtensionId`. */ export declare const useWidgetListItemClickAnalytics: ({ pageName, }: { pageName?: string; }) => UseWidgetListItemClickAnalyticsResult; export {};