import { AgentPetAPI } from '../widget/api'; declare global { interface Window { AgentPet?: AgentPetAPI; } } /** * Returns the AgentPet singleton attached to the window by the IIFE bundle. * Throws if the script tag hasn't loaded yet, or if running in SSR. */ export declare function getAgentPet(): AgentPetAPI; /** Non-throwing readiness check — useful in SSR-aware code. */ export declare function isAgentPetReady(): boolean;