import type { ExtractPropTypes, StyleValue } from 'vue'; import type Scrollbar from './scrollbar.vue'; export declare const scrollbarProps: () => { /** * @description height of scrollbar */ readonly height: { readonly type: readonly [StringConstructor, NumberConstructor]; readonly default: ""; }; /** * @description max height of scrollbar */ readonly maxHeight: { readonly type: readonly [StringConstructor, NumberConstructor]; readonly default: ""; }; /** * @description whether to use the native scrollbar */ readonly native: { readonly type: BooleanConstructor; readonly default: false; }; /** * @description style of wrap */ readonly wrapStyle: { readonly type: import("vue").PropType; readonly default: ""; }; /** * @description class of wrap */ readonly wrapClass: { readonly type: readonly [StringConstructor, ArrayConstructor]; readonly default: ""; }; /** * @description class of view */ readonly viewClass: { readonly type: readonly [StringConstructor, ArrayConstructor]; readonly default: ""; }; /** * @description style of view */ readonly viewStyle: { readonly type: readonly [StringConstructor, ArrayConstructor, ObjectConstructor]; readonly default: ""; }; /** * @description do not respond to container size changes, if the container size does not change, it is better to set it to optimize performance */ readonly noresize: BooleanConstructor; /** * @description element tag of the view */ readonly tag: { readonly type: StringConstructor; readonly default: "div"; }; /** * @description always show */ readonly always: BooleanConstructor; /** * @description minimum size of scrollbar */ readonly minSize: { readonly type: NumberConstructor; readonly default: 20; }; readonly scrollbarSize: { readonly type: StringConstructor; readonly validator: (v: string) => boolean; }; }; export declare type ScrollbarProps = ExtractPropTypes; export declare const scrollbarEmits: { scroll: ({ scrollTop, scrollLeft, }: { scrollTop: number; scrollLeft: number; }) => boolean; }; export declare type ScrollbarEmits = typeof scrollbarEmits; export declare type ScrollbarInstance = InstanceType;