import { SFCWithInstall } from '@chenms-zj/utils/with-install'; import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue'; import { FormatTooltip, SliderSize } from './src/slider'; export declare const Slider: SFCWithInstall; readonly default: 0; }; readonly disabled: { readonly type: BooleanConstructor; readonly default: false; }; readonly min: { readonly type: NumberConstructor; readonly default: 0; }; readonly max: { readonly type: NumberConstructor; readonly default: 100; }; readonly step: { readonly type: NumberConstructor; readonly default: 1; }; readonly showInput: { readonly type: BooleanConstructor; readonly default: false; }; readonly showStops: { readonly type: BooleanConstructor; readonly default: false; }; readonly showTooltip: { readonly type: BooleanConstructor; readonly default: true; }; readonly formatTooltip: { readonly type: PropType; readonly default: undefined; }; readonly size: { readonly type: PropType; readonly default: "default"; }; readonly vertical: { readonly type: BooleanConstructor; readonly default: false; }; readonly height: { readonly type: StringConstructor; readonly default: "200px"; }; readonly range: { readonly type: BooleanConstructor; readonly default: false; }; readonly color: { readonly type: StringConstructor; readonly default: "#409EFF"; }; }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { input: (value: number | [number, number]) => void; change: (value: number | [number, number]) => void; "update:modelValue": (value: number | [number, number]) => void; }, string, PublicProps, Readonly< ExtractPropTypes<{ readonly modelValue: { readonly type: PropType; readonly default: 0; }; readonly disabled: { readonly type: BooleanConstructor; readonly default: false; }; readonly min: { readonly type: NumberConstructor; readonly default: 0; }; readonly max: { readonly type: NumberConstructor; readonly default: 100; }; readonly step: { readonly type: NumberConstructor; readonly default: 1; }; readonly showInput: { readonly type: BooleanConstructor; readonly default: false; }; readonly showStops: { readonly type: BooleanConstructor; readonly default: false; }; readonly showTooltip: { readonly type: BooleanConstructor; readonly default: true; }; readonly formatTooltip: { readonly type: PropType; readonly default: undefined; }; readonly size: { readonly type: PropType; readonly default: "default"; }; readonly vertical: { readonly type: BooleanConstructor; readonly default: false; }; readonly height: { readonly type: StringConstructor; readonly default: "200px"; }; readonly range: { readonly type: BooleanConstructor; readonly default: false; }; readonly color: { readonly type: StringConstructor; readonly default: "#409EFF"; }; }>> & Readonly<{ onInput?: ((value: number | [number, number]) => any) | undefined; onChange?: ((value: number | [number, number]) => any) | undefined; "onUpdate:modelValue"?: ((value: number | [number, number]) => any) | undefined; }>, { readonly size: SliderSize; readonly disabled: boolean; readonly color: string; readonly modelValue: number | [number, number]; readonly range: boolean; readonly min: number; readonly max: number; readonly step: number; readonly height: string; readonly showInput: boolean; readonly showStops: boolean; readonly showTooltip: boolean; readonly formatTooltip: FormatTooltip; readonly vertical: boolean; }, {}, {}, {}, string, ComponentProvideOptions, true, { sliderRunway: HTMLDivElement; }, HTMLDivElement>>; export default Slider; export * from './src/slider'; declare module 'vue' { interface GlobalComponents { CmsSlider: typeof Slider; } }