import { ScrollbarProps, ScrollState, DragState } from './src/types'; import { WithInstall } from '../utils'; import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ShallowReactive, ShallowRef, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue'; declare const HlxbScrollbar: WithInstall<{ new (...args: any[]): CreateComponentPublicInstanceWithMixins; default: string; }; height: { type: PropType; default: string; }; always: { type: PropType; default: boolean; }; thumbWidth: { type: PropType; }; maxHeight: { type: PropType; }; wrapStyle: { type: PropType>; }; wrapClass: { type: PropType; }; viewStyle: { type: PropType>; }; viewClass: { type: PropType; }; noresize: { type: PropType; }; minSize: { type: PropType; default: number; }; distance: { type: PropType; default: number; }; topOffset: { type: PropType; default: number; }; thumbHoverWidth: { type: PropType; }; memoryPosition: { type: PropType; default: boolean; }; stopScrollBubble: { type: PropType; default: boolean; }; showHorizontal: { type: PropType; default: boolean; }; showVertical: { type: PropType; default: boolean; }; }>> & Readonly<{ onScroll?: ((scrollInfo: { scrollTop: number; scrollLeft: number; }) => any) | undefined; "onEnd-reached"?: ((direction: "horizontal" | "vertical") => any) | undefined; }>, { scrollTo: (optionsOrX: number | ScrollToOptions, y?: number | undefined) => void; setScrollTop: (value: number) => number | undefined; setScrollLeft: (value: number) => number | undefined; getScrollWrap: () => HTMLElement | null; scrollBottom: () => void; scrollState: ShallowReactive; dragState: ShallowRef< DragState | null, DragState | null>; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { scroll: (scrollInfo: { scrollTop: number; scrollLeft: number; }) => void; "end-reached": (direction: "horizontal" | "vertical") => void; }, PublicProps, { tag: string; height: string | number; always: boolean; minSize: number; distance: number; topOffset: number; memoryPosition: boolean; stopScrollBubble: boolean; showHorizontal: boolean; showVertical: boolean; }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly< ExtractPropTypes<{ tag: { type: PropType; default: string; }; height: { type: PropType; default: string; }; always: { type: PropType; default: boolean; }; thumbWidth: { type: PropType; }; maxHeight: { type: PropType; }; wrapStyle: { type: PropType>; }; wrapClass: { type: PropType; }; viewStyle: { type: PropType>; }; viewClass: { type: PropType; }; noresize: { type: PropType; }; minSize: { type: PropType; default: number; }; distance: { type: PropType; default: number; }; topOffset: { type: PropType; default: number; }; thumbHoverWidth: { type: PropType; }; memoryPosition: { type: PropType; default: boolean; }; stopScrollBubble: { type: PropType; default: boolean; }; showHorizontal: { type: PropType; default: boolean; }; showVertical: { type: PropType; default: boolean; }; }>> & Readonly<{ onScroll?: ((scrollInfo: { scrollTop: number; scrollLeft: number; }) => any) | undefined; "onEnd-reached"?: ((direction: "horizontal" | "vertical") => any) | undefined; }>, { scrollTo: (optionsOrX: number | ScrollToOptions, y?: number | undefined) => void; setScrollTop: (value: number) => number | undefined; setScrollLeft: (value: number) => number | undefined; getScrollWrap: () => HTMLElement | null; scrollBottom: () => void; scrollState: ShallowReactive; dragState: ShallowRef< DragState | null, DragState | null>; }, {}, {}, {}, { tag: string; height: string | number; always: boolean; minSize: number; distance: number; topOffset: number; memoryPosition: boolean; stopScrollBubble: boolean; showHorizontal: boolean; showVertical: boolean; }>; __isFragment?: undefined; __isTeleport?: undefined; __isSuspense?: undefined; } & ComponentOptionsBase; default: string; }; height: { type: PropType; default: string; }; always: { type: PropType; default: boolean; }; thumbWidth: { type: PropType; }; maxHeight: { type: PropType; }; wrapStyle: { type: PropType>; }; wrapClass: { type: PropType; }; viewStyle: { type: PropType>; }; viewClass: { type: PropType; }; noresize: { type: PropType; }; minSize: { type: PropType; default: number; }; distance: { type: PropType; default: number; }; topOffset: { type: PropType; default: number; }; thumbHoverWidth: { type: PropType; }; memoryPosition: { type: PropType; default: boolean; }; stopScrollBubble: { type: PropType; default: boolean; }; showHorizontal: { type: PropType; default: boolean; }; showVertical: { type: PropType; default: boolean; }; }>> & Readonly<{ onScroll?: ((scrollInfo: { scrollTop: number; scrollLeft: number; }) => any) | undefined; "onEnd-reached"?: ((direction: "horizontal" | "vertical") => any) | undefined; }>, { scrollTo: (optionsOrX: number | ScrollToOptions, y?: number | undefined) => void; setScrollTop: (value: number) => number | undefined; setScrollLeft: (value: number) => number | undefined; getScrollWrap: () => HTMLElement | null; scrollBottom: () => void; scrollState: ShallowReactive; dragState: ShallowRef< DragState | null, DragState | null>; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { scroll: (scrollInfo: { scrollTop: number; scrollLeft: number; }) => void; "end-reached": (direction: "horizontal" | "vertical") => void; }, string, { tag: string; height: string | number; always: boolean; minSize: number; distance: number; topOffset: number; memoryPosition: boolean; stopScrollBubble: boolean; showHorizontal: boolean; showVertical: boolean; }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => { $slots: { default?(_: {}): any; }; }), ScrollbarProps>; export * from './src/types'; export { useScrollbar } from './src/useScrollbar'; export default HlxbScrollbar;