import { DataLayerArgs } from 'react-gtm-module'; interface GTMProviderValue { push: (data: DataLayerArgs["dataLayer"], customDataLayerName?: DataLayerArgs["dataLayerName"]) => void; } /** * Hook that is aimed to expose the provider context containing the `tagManager` object and its methods. */ export declare const useTagManager: () => GTMProviderValue | null; interface GTMProviderProps { /** * Entire app content */ children: React.ReactNode; /** * Optional Google Tag Manager id. If set the provider will take care of GTM initialization. */ gtmId?: string; } /** * Provider that is aimed to initialize a `TagManager` instance of `react-gtm-module` package if a valid `gtmId` prop is set. */ export declare const GTMProvider: React.FC; export {};