1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import type { SetupContext } from 'vue';
import type { CarouselItemContext } from './constants';
import type { CarouselEmits, CarouselProps } from './carousel';
export declare const useCarousel: (props: CarouselProps, emit: SetupContext<CarouselEmits>['emit'], componentName: string) => {
root: import("vue").Ref<HTMLDivElement | undefined>;
activeIndex: import("vue").Ref<number>;
arrowDisplay: import("vue").ComputedRef<boolean>;
hasLabel: import("vue").ComputedRef<boolean>;
hover: import("vue").Ref<boolean>;
isCardType: import("vue").ComputedRef<boolean>;
isTransitioning: import("vue").Ref<boolean>;
items: import("vue").ShallowRef<CarouselItemContext[]>;
isVertical: import("vue").ComputedRef<boolean>;
containerStyle: import("vue").ComputedRef<{
height: string;
overflow?: undefined;
} | {
height: string;
overflow: string;
}>;
isItemsTwoLength: import("vue").Ref<boolean>;
handleButtonEnter: (arrow: 'left' | 'right') => void;
handleTransitionEnd: () => void;
handleButtonLeave: () => void;
handleIndicatorClick: (index: number) => void;
handleMouseEnter: () => void;
handleMouseLeave: () => void;
setActiveItem: (index: number | string) => void;
prev: () => void;
next: () => void;
PlaceholderItem: () => ({
[name: string]: unknown;
$stable?: boolean | undefined;
} | import("element-plus/es/utils").VNodeChildAtom)[] | null;
isTwoLengthShow: (index: number) => boolean;
throttledArrowClick: import("lodash").DebouncedFunc<(index: number) => void>;
throttledIndicatorHover: import("lodash").DebouncedFunc<(index: number) => void>;
};