import type { RegistryScriptInput, UseScriptContext } from '#nuxt-scripts/types'; import { MatomoAnalyticsOptions } from './schemas.js'; export { MatomoAnalyticsOptions }; export type MatomoAnalyticsInput = RegistryScriptInput; export interface MatomoAnalyticsApi { _paq: unknown[]; } declare global { interface Window extends MatomoAnalyticsApi { } } export interface MatomoConsent { /** Push `setConsentGiven`. Requires `defaultConsent: 'required' | 'given'` at registration to have an effect. */ give: () => void; /** Push `forgetConsentGiven`. Requires `defaultConsent: 'required' | 'given'` at registration to have an effect. */ forget: () => void; } export declare function useScriptMatomoAnalytics(_options?: MatomoAnalyticsInput): UseScriptContext;