import React from "react"; type HubspotEventValue = Object | string; declare global { interface Window { _hsq: { push: (options: [string, HubspotEventValue] | [string]) => void; }; } } interface HubspotOptions { push: typeof push; handlePush: typeof handlePush; handleTrackEvent: typeof handleTrackEvent; } interface HubspotProps { children: (options: HubspotOptions) => React.ReactNode; } declare const push: (eventName: string, values?: string | Object | undefined) => void; declare const handlePush: (eventName: string) => (values?: string | Object | undefined) => void; declare const handleTrackEvent: (id: string) => (value?: string | Object | undefined) => void; declare const Hubspot: (props: HubspotProps) => JSX.Element; export default Hubspot;