UNPKG

911 BTypeScriptView Raw
1import type { Swiper, SwiperOptions } from './types/index.d.ts';
2
3declare const createShadow: (suffix: string, slideEl: HTMLElement, side?: string) => HTMLElement;
4
5declare const effectInit: (params: {
6 effect: string;
7 swiper: Swiper;
8 on: () => void;
9 setTranslate: () => void;
10 setTransition: (duration: number) => void;
11 overwriteParams?: () => SwiperOptions;
12 perspective?: () => boolean;
13 recreateShadows?: () => void;
14 getEffectParams?: () => { slideShadows?: boolean };
15}) => void;
16
17declare const effectTarget: (effectParams: any, slideEl: HTMLElement) => void;
18
19declare const effectVirtualTransitionEnd: (params: {
20 swiper: Swiper;
21 duration: number;
22 transformElements: HTMLElement[];
23 allSlides?: boolean;
24}) => void;
25
26declare const getSlideTransformEl: (slideEl: HTMLElement) => void;
27
28export { createShadow, effectInit, effectTarget, effectVirtualTransitionEnd, getSlideTransformEl };