1 | import { HasVideoDetail } from './lg-events';
|
2 | import { LightGallerySettings } from './lg-settings';
|
3 | import { $LG } from './lgQuery';
|
4 | import { LightGallery } from './lightgallery';
|
5 | declare global {
|
6 | interface Window {
|
7 | lgModules: any;
|
8 | $LG: typeof $LG;
|
9 | lightGallery: (el: HTMLElement, options: Partial<LightGallerySettings>) => LightGallery | undefined;
|
10 | }
|
11 | }
|
12 | export interface Coordinates {
|
13 | pageX: number;
|
14 | pageY: number;
|
15 | }
|
16 | export interface CustomEventHasVideo extends CustomEvent {
|
17 | detail: HasVideoDetail;
|
18 | }
|
19 | export declare type SlideDirection = 'next' | 'prev';
|
20 | export interface Coords {
|
21 | pageX: number;
|
22 | pageY: number;
|
23 | }
|
24 | export interface VideoInfo {
|
25 | html5?: boolean;
|
26 | youtube?: string[];
|
27 | vimeo?: string[];
|
28 | wistia?: string[];
|
29 | dailymotion?: string[];
|
30 | }
|
31 | export interface MediaContainerPosition {
|
32 | top: number;
|
33 | bottom: number;
|
34 | }
|