import { PopupFrequency } from './types'; export declare const POPUP_STORAGE_PREFIX = "storefront-builder:popup:"; export type PopupFrequencyEntry = { id: string; frequency: PopupFrequency; frequencyDays: number; }; /** * Whether a popup may open now. Storage errors (blocked or unavailable) count as due, * so a popup is never silently suppressed. */ export declare function isPopupDue(entry: PopupFrequencyEntry, now?: number): boolean; /** Records that a popup was shown, so `isPopupDue` can gate its next open. */ export declare function markPopupShown(entry: PopupFrequencyEntry, now?: number): void;