import { PopupModal } from '../schema/index.ts'; /** Whether the popup is allowed to open now, given its frequency cap. */ export declare function canOpen(popup: PopupModal, now?: number): boolean; /** Record that the popup was shown, so the frequency cap applies next time. */ export declare function markShown(popup: PopupModal, now?: number): void;