"use client";

import { AppStorage } from "@/data/storage/app/app_storage";

export async function canShowPwaInstallPromptOnce(): Promise<boolean> {
  const result = await AppStorage.canShowPwaDialog();
  return result.success && result.data;
}

export function recordPwaInstallPromptShown(): Promise<unknown> {
  return AppStorage.recordPwaDialogShown();
}
