import { Dispatch, SetStateAction } from "react"; import { Container, KeenSliderInstance, KeenSliderOptions, TrackDetails } from "keen-slider"; export interface SliderOptions extends KeenSliderOptions { shouldObserverMutations?: boolean; shouldAutoDisable?: boolean; } export type SlideResult = [ Dispatch>, { slider: KeenSliderInstance | null; activeIndex: number; isDisabled: boolean; isMounted: boolean; isActiveIndex: (index: number) => boolean; details: TrackDetails | null; options: SliderOptions | null; next: () => void; prev: () => void; moveToIdx: (index: number) => void; } ]; export declare const useSlider: ({ shouldObserverMutations, shouldAutoDisable, ...opt }?: SliderOptions) => SlideResult; //# sourceMappingURL=slider.d.ts.map