import { ExtractPropTypes, PropType } from 'vue'; export interface CascaderOption { value: string | number; label: string; children?: CascaderOption[]; disabled?: boolean; leaf?: boolean; [key: string]: any; } export type CascaderValue = string | number | (string | number)[]; export declare const cascaderProps: { readonly modelValue: { readonly type: PropType; readonly default: () => never[]; }; readonly options: { readonly type: PropType; 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: " / "; }; }; export type CascaderProps = Partial>; export declare const cascaderEmits: { 'update:modelValue': (value: CascaderValue) => boolean; change: (value: CascaderValue) => boolean; 'expand-change': (value: CascaderOption[]) => boolean; blur: (e: FocusEvent) => boolean; focus: (e: FocusEvent) => boolean; 'visible-change': (visible: boolean) => boolean; 'remove-tag': (value: CascaderValue) => boolean; }; export type CascaderEmits = typeof cascaderEmits;