export default function useAnalytics(): { recordView: (title?: string) => void; recordEvent: ({ category, action, }: { category: string; action: string; }) => void; };