/** * PWAInstallButton.tsx — A ready-to-use, fully styled React component. * * Renders an install button that: * - Automatically hides when the app is already installed or unsupported * - Shows a native install prompt on Android/Chrome * - Shows iOS instructions via a popover on iOS Safari * - Accepts full styling customization via className / style props * * Usage: * * * Or custom children: * * * */ import React from 'react'; import type { UniversalPWAConfig } from '../types'; export interface PWAInstallButtonProps extends UniversalPWAConfig { /** Custom class name for the button */ className?: string; /** Custom inline styles */ style?: React.CSSProperties; /** Custom children — replaces the default button UI */ children?: React.ReactNode; /** Hides the button instead of disabling it when not installable */ hideWhenNotInstallable?: boolean; } export declare function PWAInstallButton({ className, style, children, hideWhenNotInstallable, ...config }: PWAInstallButtonProps): React.JSX.Element | null;