import { DetectScrollIntoViewOptions } from '@past3lle/hooks'; import React from 'react'; import { BoxProps } from 'rebass'; import { CTAOverlayProps } from './styleds'; declare type WithContainer = { container: HTMLElement | null | undefined; }; declare type AutoPlayOptions = { stopTime: number; }; export declare type SmartVideoProps = { sourcesProps: React.DetailedHTMLProps, HTMLSourceElement>[]; videoProps?: React.DetailedHTMLProps, HTMLVideoElement>; loadInView?: boolean; loadInViewOptions?: DetectScrollIntoViewOptions; forceLoad?: boolean; showTapToPlay?: boolean; showError?: boolean; videoDelay?: boolean; autoPlayOptions?: AutoPlayOptions; ctaOverlayProps: CTAOverlayProps; handleClick?: (...params: any[]) => void; onResize?: React.VideoHTMLAttributes['onResize'] | undefined; onResizeCapture?: React.VideoHTMLAttributes['onResizeCapture'] | undefined; } & WithContainer & BoxProps; export declare const SmartVideo: React.ForwardRefExoticComponent & React.RefAttributes>; export declare function VideoDelayer(props: CTAOverlayProps): React.JSX.Element; export {}; //# sourceMappingURL=index.d.ts.map