import { ISdk } from "../../../types"; import { SwiperProps } from "../../../types/SdkSwiper"; import Swiper from "swiper"; import { SwiperOptions } from "swiper/types"; export interface SwiperWithExtensions extends Swiper { getSlideIndex?: (element: HTMLElement) => number | undefined; isLoading?: boolean; instance?: SwiperWithExtensions; pageIndex?: number | undefined; muted?: boolean; } export type LookupAttr = { name: string; value: string; }; type SwiperConfigContainer = { prev: HTMLElement | null | undefined; next: HTMLElement | null | undefined; paramsOverrides: SwiperOptions | undefined; }; export declare function establishSwiperConfig(userConfig: SwiperConfigContainer): SwiperOptions; export declare function initializeSwiper(sdk: ISdk, swiperProps: SwiperProps): void; export declare function refreshSwiper(sdk: ISdk, id: string): void; export declare function getSwiperIndexByElement(tileElement: HTMLElement, swiperInstance: SwiperWithExtensions): number; export declare function getSwiperIndexForTile(swiperSelector: HTMLElement, tileId: string): number; export declare function getSwiperInstance(sdk: ISdk, id: string): SwiperWithExtensions | null; export declare function disableSwiper(sdk: ISdk, id: string): void; export declare function enableSwiper(sdk: ISdk, id: string): void; export declare function getMutatedId(sdk: ISdk, id: string): string; export declare function destroySwiper(sdk: ISdk, id: string): void; export declare function getClickedIndex(sdk: ISdk, id: string): number; export declare function getInstance(sdk: ISdk, id: string): SwiperWithExtensions | null; export declare function getActiveSlide(sdk: ISdk, id: string): number; export declare function getActiveSlideElement(sdk: ISdk, id: string): HTMLElement | null; export declare function getSwiperContainer(sdk: ISdk, id: string): SwiperWithExtensions | null; export declare function isSwiperLoading(sdk: ISdk, id: string): boolean; export declare function setSwiperLoadingStatus(sdk: ISdk, id: string, isLoading: boolean): void; export declare function updateSwiperInstance(sdk: ISdk, id: string, updateProps: (swiperData: SwiperWithExtensions) => void): null | undefined; export {}; //# sourceMappingURL=swiper.extension.d.ts.map