import type { MuxPlayerProps } from '@mux/mux-player-react'; import type { Asset } from './assets.js'; declare module 'react' { interface CSSProperties { [key: `--${string}`]: any; } } interface NextVideoProps extends Omit { src: string | Asset; width?: number; height?: number; controls?: boolean; blurDataURL?: string; /** * For best image loading performance the user should provide the sizes attribute. * The width of the image in the webpage. e.g. sizes="800px". Defaults to 100vw. * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#sizes */ sizes?: string; } export default function NextVideo(props: NextVideoProps): import("react/jsx-runtime").JSX.Element; interface PosterProps { token?: string; thumbnailTime?: number; width?: number; domain?: string; } export declare const getPosterURLFromPlaybackId: (playbackId?: string, { token, thumbnailTime, width, domain }?: PosterProps) => string | undefined; export declare function usePolling(callback: (abortSignal: AbortSignal) => any, interval?: number | null): void; export declare function useInterval(callback: () => any, delay: number | null): void; export {};