import { SymbolRegistry } from '@agorapulse/ui-symbol';
import * as i0 from '@angular/core';
import { OnInit, ElementRef } from '@angular/core';
import { MatDialogRef, MatDialogConfig } from '@angular/material/dialog';

interface MediaDisplayData {
    mediaInfo: MediaInfo[];
    clickedMedia?: MediaInfo;
    supportGif: boolean;
}
declare enum KEY_CODE {
    RIGHT_ARROW = 39,
    LEFT_ARROW = 37
}
interface MediaInfo {
    url: string;
    type: 'PHOTO' | 'VIDEO';
    thumbnail?: string;
}
declare class MediaDisplayOverlayDialogComponent implements OnInit {
    dialogRef: MatDialogRef<MediaDisplayOverlayDialogComponent>;
    data: MediaDisplayData;
    symbolRegistry: SymbolRegistry;
    videoPlayer: ElementRef<HTMLVideoElement> | undefined;
    static config: MatDialogConfig<MediaDisplayData>;
    currentUrlIndex: number;
    mediaInfo: MediaInfo[];
    mediaType: 'PHOTO' | 'VIDEO' | undefined;
    supportGif: boolean;
    thumbnailCover: string | undefined;
    isPlayingVideo: boolean;
    urls: string[];
    url: string | undefined;
    constructor(dialogRef: MatDialogRef<MediaDisplayOverlayDialogComponent>, data: MediaDisplayData, symbolRegistry: SymbolRegistry);
    ngOnInit(): void;
    onClose(): void;
    onNext($event: UIEvent): void;
    onPrevious($event: UIEvent): void;
    play($event: UIEvent): void;
    keyEvent(event: KeyboardEvent): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<MediaDisplayOverlayDialogComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<MediaDisplayOverlayDialogComponent, "ap-media-display-overlay", never, {}, {}, never, never, true, never>;
}

export { KEY_CODE, MediaDisplayOverlayDialogComponent };
export type { MediaDisplayData, MediaInfo };
