/** * Options for {@link useTrackNarrativeCopy}. * @internal */ export type UseTrackNarrativeCopyOptions = { /** Saved dashboard the narrative describes; the event's entity when set. */ dashboardId?: string; /** Stable id of the narrative widget; the event's entity when there is no dashboard id. */ widgetEntityId: string; }; /** * Returns the callback that reports a copy of the dashboard narrative as the * `copyDashboardNarrative` event. The entity is the saved dashboard when its id is known, * otherwise the narrative widget itself. * @param options - Dashboard id and widget id the event is attributed to. * @returns Callback to invoke once the narrative is on the clipboard. * @internal */ export declare const useTrackNarrativeCopy: (options: UseTrackNarrativeCopyOptions) => (() => void);