import { ExtractPropTypes, PropType, StyleValue } from 'vue'; import type Scrollbar from './Scrollbar.vue'; export declare const scrollbarEmits: { scroll: ({ scrollTop, scrollLeft }: { scrollTop: number; scrollLeft: number; }) => boolean; }; export interface ScrollbarContext { scrollbarElement: HTMLDivElement; wrapElement: HTMLDivElement; } export declare const scrollbarProps: { height: { type: (StringConstructor | NumberConstructor)[]; default: string; }; maxHeight: { type: (StringConstructor | NumberConstructor)[]; default: string; }; native: { type: BooleanConstructor; default: boolean; }; wrapStyle: { type: PropType; default: string; }; wrapClass: { type: (StringConstructor | ArrayConstructor)[]; default: string; }; viewClass: { type: (StringConstructor | ArrayConstructor)[]; default: string; }; viewStyle: { type: (StringConstructor | ArrayConstructor)[]; default: string; }; noresize: { type: BooleanConstructor; default: boolean; }; tag: { type: StringConstructor; default: string; }; always: { type: BooleanConstructor; default: boolean; }; minSize: { type: NumberConstructor; default: number; }; }; export declare const barThumbProps: { vertical: BooleanConstructor; size: StringConstructor; move: NumberConstructor; ratio: { type: NumberConstructor; required: boolean; }; always: BooleanConstructor; }; export declare const barProps: { always: { type: BooleanConstructor; default: boolean; }; width: { type: StringConstructor; default: string; }; height: { type: StringConstructor; default: string; }; ratioX: { type: NumberConstructor; default: number; }; ratioY: { type: NumberConstructor; default: number; }; }; interface BarAttrMap { offset: 'offsetHeight' | 'offsetWidth'; scroll: 'scrollTop' | 'scrollLeft'; scrollSize: 'scrollHeight' | 'scrollWidth'; size: 'height' | 'width'; key: 'vertical' | 'horizontal'; axis: 'Y' | 'X'; client: 'clientY' | 'clientX'; direction: 'top' | 'left'; } export declare const BAR_MAP: Record<'vertical' | 'horizontal', BarAttrMap>; export declare type BarProps = ExtractPropTypes; export declare type BarThumbProps = ExtractPropTypes; export declare type ScrollbarProps = ExtractPropTypes; export declare type ScrollbarEmits = typeof scrollbarEmits; export declare type ScrollbarInstance = InstanceType; export {};