import { SFCWithInstall } from '@chenms-zj/utils/with-install'; import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue'; import { CascaderValue, CascaderOption } from './src/cascaders'; export declare const Cascader: SFCWithInstall; readonly default: () => never[]; }; readonly options: { readonly type: PropType< CascaderOption[]>; readonly default: () => never[]; }; readonly props: { readonly type: PropType<{ expandTrigger?: "click" | "hover"; multiple?: boolean; checkStrictly?: boolean; emitPath?: boolean; lazy?: boolean; lazyLoad?: (node: CascaderOption, resolve: (children: CascaderOption[]) => void) => void; value?: string; label?: string; children?: string; disabled?: string; leaf?: string; }>; readonly default: () => { expandTrigger: string; multiple: boolean; checkStrictly: boolean; emitPath: boolean; value: string; label: string; children: string; disabled: string; leaf: string; }; }; readonly placeholder: { readonly type: StringConstructor; readonly default: "请选择"; }; readonly disabled: BooleanConstructor; readonly clearable: BooleanConstructor; readonly filterable: BooleanConstructor; readonly filterMethod: { readonly type: PropType<(node: CascaderOption, keyword: string) => boolean>; readonly default: (node: CascaderOption, keyword: string) => boolean; }; readonly size: { readonly type: PropType<"small" | "medium" | "large">; readonly default: "medium"; }; readonly showAllLevels: { readonly type: BooleanConstructor; readonly default: true; }; readonly collapseTags: BooleanConstructor; readonly separator: { readonly type: StringConstructor; readonly default: " / "; }; }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { blur: (e: FocusEvent) => void; change: (value: CascaderValue) => void; focus: (e: FocusEvent) => void; "update:modelValue": (value: CascaderValue) => void; "expand-change": (value: CascaderOption[]) => void; "visible-change": (visible: boolean) => void; "remove-tag": (value: CascaderValue) => void; }, string, PublicProps, Readonly< ExtractPropTypes<{ readonly modelValue: { readonly type: PropType; readonly default: () => never[]; }; readonly options: { readonly type: PropType< CascaderOption[]>; readonly default: () => never[]; }; readonly props: { readonly type: PropType<{ expandTrigger?: "click" | "hover"; multiple?: boolean; checkStrictly?: boolean; emitPath?: boolean; lazy?: boolean; lazyLoad?: (node: CascaderOption, resolve: (children: CascaderOption[]) => void) => void; value?: string; label?: string; children?: string; disabled?: string; leaf?: string; }>; readonly default: () => { expandTrigger: string; multiple: boolean; checkStrictly: boolean; emitPath: boolean; value: string; label: string; children: string; disabled: string; leaf: string; }; }; readonly placeholder: { readonly type: StringConstructor; readonly default: "请选择"; }; readonly disabled: BooleanConstructor; readonly clearable: BooleanConstructor; readonly filterable: BooleanConstructor; readonly filterMethod: { readonly type: PropType<(node: CascaderOption, keyword: string) => boolean>; readonly default: (node: CascaderOption, keyword: string) => boolean; }; readonly size: { readonly type: PropType<"small" | "medium" | "large">; readonly default: "medium"; }; readonly showAllLevels: { readonly type: BooleanConstructor; readonly default: true; }; readonly collapseTags: BooleanConstructor; readonly separator: { readonly type: StringConstructor; readonly default: " / "; }; }>> & Readonly<{ onBlur?: ((e: FocusEvent) => any) | undefined; onChange?: ((value: CascaderValue) => any) | undefined; onFocus?: ((e: FocusEvent) => any) | undefined; "onUpdate:modelValue"?: ((value: CascaderValue) => any) | undefined; "onExpand-change"?: ((value: CascaderOption[]) => any) | undefined; "onVisible-change"?: ((visible: boolean) => any) | undefined; "onRemove-tag"?: ((value: CascaderValue) => any) | undefined; }>, { readonly size: "small" | "medium" | "large"; readonly disabled: boolean; readonly props: { expandTrigger?: "click" | "hover"; multiple?: boolean; checkStrictly?: boolean; emitPath?: boolean; lazy?: boolean; lazyLoad?: (node: CascaderOption, resolve: (children: CascaderOption[]) => void) => void; value?: string; label?: string; children?: string; disabled?: string; leaf?: string; }; readonly modelValue: CascaderValue; readonly placeholder: string; readonly clearable: boolean; readonly options: CascaderOption[]; readonly filterable: boolean; readonly filterMethod: (node: CascaderOption, keyword: string) => boolean; readonly showAllLevels: boolean; readonly collapseTags: boolean; readonly separator: string; }, {}, {}, {}, string, ComponentProvideOptions, true, { inputRef: HTMLInputElement; }, any>>; export default Cascader; export * from './src/cascaders'; declare module 'vue' { interface GlobalComponents { 'cms-cascaders': typeof Cascader; } }