import { type ImmutableObject } from 'seamless-immutable'; import { type VideoAttrs } from '@divi/types'; import { type ModuleEditProps } from '../types-module'; interface FitVidsParams { customSelector?: string; ignore?: string; } declare global { interface JQuery { fitVids({ customSelector, ignore }?: FitVidsParams): JQuery; } interface Window { et_pb_play_overlayed_video(element: JQuery): void; } } type GetVideoHTMLSrcParams = { src: string; srcWebm?: never; }; type GetVideoHTMLSrcWebmParams = { src?: never; srcWebm: string; }; export type GetVideoHTMLParams = GetVideoHTMLSrcParams | GetVideoHTMLSrcWebmParams; export interface VideoSettingsDesign { attrs?: ImmutableObject; } export interface VideoSettingsContent { attrs?: ImmutableObject; } export type VideoEditProps = ModuleEditProps; export {};