import React from 'react'; import { Object3DNode } from '@react-three/fiber'; declare module '@react-three/fiber' { interface ThreeElements { browserCompatibility: Object3DNode, HTMLDivElement>, typeof BrowserCompatibility>; } } export interface BrowserCompatibilityProps { /** You may provide a fallback UI to be used when the browser is incompatible */ fallback?: React.ReactElement; } /** * Shows a full-page dialog that informs the user they're using an unsupported browser, * and provides a button to 'copy' the current page URL so they can 'paste' it into the * address bar of a compatible alternative. */ declare function BrowserCompatibility({ fallback }: BrowserCompatibilityProps): React.ReactElement> | null; export default BrowserCompatibility;