import { CenterPanel } from "../uv-shared-module/CenterPanel"; import { AnnotationBody, IExternalResource, Rendering } from "manifesto.js"; import "mediaelement/build/mediaelement-and-player"; import "mediaelement/build/mediaelementplayer.min.css"; import "./js/source-chooser-fixed.js"; import "mediaelement-plugins/dist/source-chooser/source-chooser.css"; import { Config } from "../../extensions/uv-mediaelement-extension/config/Config"; type TextTrackDescriptor = { language?: string; label?: string; id: string; }; type MediaSourceDescriptor = { label: string; type: string; src: string; }; export declare class MediaElementCenterPanel extends CenterPanel { $wrapper: JQuery; $container: JQuery; $media: JQuery; mediaHeight: number; mediaWidth: number; player: any; title: string | null; pauseTimeoutId: any; muted: boolean; constructor($element: JQuery); create(): void; updateMutedAttribute(muted: boolean): void; openMedia(resources: IExternalResource[]): Promise; appendTextTracks(subtitles: Array): void; appendMediaSources(sources: Array): void; isTypeMedia(element: Rendering | AnnotationBody): boolean; isTypeCaption(element: Rendering | AnnotationBody): boolean; isVideo(): boolean; resize(): void; } export {};