/** * Storefront event helpers. * * Thin fetch wrappers that post analytics events to the backend via the * Shopify App Proxy. Never throws — every call is best-effort. The widget * must stay usable even when the analytics endpoint is unreachable. */ export declare function logProductView(input: { productId?: string; productTitle?: string; }): void; export declare function logSizeAccepted(input: { productId?: string; productTitle?: string; size?: string; recommendedSize?: string; }): void; export declare function logSizeShown(input: { productId?: string; productTitle?: string; recommendedSize?: string; fromCache?: boolean; }): void; export declare function logTryOnFeedback(input: { jobId?: string; historyEntryId?: string; rating?: number; note?: string; productId?: string; productTitle?: string; productUrl?: string; recommendedSize?: string; profileLoggedIn?: boolean; profileId?: string; profileName?: string; profileAccessToken?: string; }): Promise; export declare function logProfileEvent(input: { eventType: "SDK_PROFILE_CREATED" | "SDK_PROFILE_UPDATED" | "SDK_PROFILE_SELECTED"; productId?: string; productTitle?: string; productUrl?: string; profileLoggedIn?: boolean; profileId?: string; profileName?: string; profileOrigin?: string; metadata?: Record; }): void;