import { Nilable } from '@wistia/type-guards'; import { BatchFetchMediaData, MediaType } from './media-data.ts'; export type PosterEmbedOptions = { backgroundColor?: Nilable; borderRadius?: Nilable; bpbOnHover?: Nilable; channel?: Nilable; color?: Nilable; container: HTMLElement | string; ctaButtonBackgroundColor?: Nilable; ctaButtonOnHover?: Nilable; ctaButtonText?: Nilable; ctaButtonTextColor?: Nilable; cursorPointer?: Nilable<'everywhere'>; deliveryCdn?: Nilable; duration?: Nilable; durationBackgroundColor?: Nilable; embedHost?: Nilable; fadeInDelay?: Nilable; fadeInTime?: Nilable; formatDuration?: Nilable<(value: number | string) => number | string>; isLiveStreamEvent?: Nilable; monitor?: Nilable; playButton?: Nilable; playButtonOnHover?: Nilable; playButtonTabIndex?: Nilable; progressIndicator?: Nilable; showDuration?: Nilable; thumbnailFitStrategy?: Nilable<'contain' | 'cover' | 'fill'>; translateTime?: Nilable; videoFeature?: Nilable; }; export type PosterControlInstances = { [x: string]: unknown; durationIndicator: unknown; playButton: unknown; posterDefaultAudioThumbnail: unknown; posterThumbnail: unknown; progressIndicator: unknown; storyboard: unknown; video: unknown; }; export type Poster = { destroy: () => void; getPosterMediaDetails: () => Promise; hashedId: () => string; hideCtaButton: () => void; hidePlayButton: () => void; mediaType: () => MediaType; onMouseEnter?: (e?: MouseEvent) => void; onMouseLeave?: (e?: MouseEvent) => void; onMouseMove?: (e: MouseEvent) => void; render: () => Promise; setControlProps: () => void; setEmbedOptions: () => Promise; showCtaButton: () => void; showPlayButton: () => void; updateEmbedOptions: (updatedEmbedOptions: Partial) => void; whenControlMounted: (controlName: T) => Promise; }; //# sourceMappingURL=poster.d.ts.map