/** * storage.ts — Manages install preference state in localStorage. * Handles dismissal cooldowns so we don't spam users. */ /** * Records the exact timestamp when the user dismissed the prompt. */ export declare function recordDismissal(): void; /** * Records when the app was confirmed installed. */ export declare function recordInstalled(): void; /** * Returns true if the user already installed the app. */ export declare function hasInstalled(): boolean; /** * Returns true if the user dismissed WITHIN the cooldown window. * If cooldownDays have passed, returns false (show the prompt again). */ export declare function isDismissedWithinCooldown(cooldownDays: number): boolean; /** * Resets stored state — useful for testing or if a developer calls .reset() */ export declare function clearStorage(): void;