import type { DependencyList } from 'react'; /** * A React Hook that helps to check if browser supports a feature in both client and Server-side Rendering (SSR). * * TODO: in 2.0 use Ref to track & mark dependencies to reduce render, only update when deps actually used and changed. */ export declare function useSupported(callback: () => unknown, deps?: DependencyList): boolean;