import type { RegistryScriptInput } from '#nuxt-scripts/types'; import { HotjarOptions } from './schemas.js'; export { HotjarOptions }; export interface HotjarApi { hj: ((event: 'identify', userId: string, attributes?: Record) => void) & ((event: 'stateChange', path: string) => void) & ((event: 'vPageView', path: string) => void) & ((event: 'event', eventName: string) => void) & ((event: (string & {}), ...args: any[]) => void) & { q: any[]; }; } declare global { interface Window extends HotjarApi { _hjSettings: { hjid: number; hjsv?: number; }; } } export type HotjarInput = RegistryScriptInput; export declare function useScriptHotjar(_options?: HotjarInput): import("#nuxt-scripts/types").UseScriptContext;