import { PropType } from 'vue'; import { type TreeOption } from 'naive-ui'; import { AnyObject } from '../../../shared/types'; type IKey = string | number; type ITreeOption = TreeOption & AnyObject; type IWordBook = { parent_id_obj: keyof T; parent_name_obj: keyof T; user_count_obj?: keyof T; filter_key?: string; [key: string]: any; }; type IWordBookChild = { user_id_obj: keyof T; user_name_obj: keyof T; user_expand_keys?: string[]; }; type ITag = { key: IKey; [key: string]: any; }; declare const _default: import("vue").DefineComponent; default: () => never[]; }; data: { type: PropType; default: () => never[]; }; searchPlaceholder: { type: StringConstructor; default: string; }; searchButtonText: { type: StringConstructor; default: string; }; wordbook: { type: PropType>; default: () => {}; }; wordbookChild: { type: PropType>; default: () => {}; }; showCount: { type: BooleanConstructor; default: boolean; }; showClear: { type: BooleanConstructor; default: boolean; }; multiple: { type: BooleanConstructor; default: boolean; }; searchInner: { type: BooleanConstructor; default: boolean; }; searchFilter: { type: PropType; default: () => {}; }; treeSetting: { type: PropType; default: () => {}; }; queryLoadChildData: { type: PropType<(node: TreeOption) => Promise>; default: undefined; }; queryTreeSearch: { type: PropType<(keyWork: string) => Promise>>; default: () => Promise; }; switchTypeProps: { type: PropType; default: () => never[]; }; switchTypeData: { type: PropType; default: () => {}; }; tagProps: { type: PropType; default: () => {}; }; forceShowSelectAll: { type: BooleanConstructor; }; }>, { props: import("@vue/shared").LooseRequired; default: () => never[]; }; data: { type: PropType; default: () => never[]; }; searchPlaceholder: { type: StringConstructor; default: string; }; searchButtonText: { type: StringConstructor; default: string; }; wordbook: { type: PropType>; default: () => {}; }; wordbookChild: { type: PropType>; default: () => {}; }; showCount: { type: BooleanConstructor; default: boolean; }; showClear: { type: BooleanConstructor; default: boolean; }; multiple: { type: BooleanConstructor; default: boolean; }; searchInner: { type: BooleanConstructor; default: boolean; }; searchFilter: { type: PropType; default: () => {}; }; treeSetting: { type: PropType; default: () => {}; }; queryLoadChildData: { type: PropType<(node: TreeOption) => Promise>; default: undefined; }; queryTreeSearch: { type: PropType<(keyWork: string) => Promise>>; default: () => Promise; }; switchTypeProps: { type: PropType; default: () => never[]; }; switchTypeData: { type: PropType; default: () => {}; }; tagProps: { type: PropType; default: () => {}; }; forceShowSelectAll: { type: BooleanConstructor; }; }>> & Readonly<{}> & {}>; emit: any; keyword: import("vue").Ref; checkedAll: import("vue").Ref; checkedKeys: import("vue").Ref; expandedKeys: import("vue").Ref; treeData: import("vue").Ref<{ [x: string]: unknown; key?: import("naive-ui/es/tree/src/interface").Key | undefined; label?: string | undefined; checkboxDisabled?: boolean | undefined; disabled?: boolean | undefined; isLeaf?: boolean | undefined; children?: any[] | undefined; prefix?: (() => import("vue").VNodeChild) | undefined; suffix?: (() => import("vue").VNodeChild) | undefined; }[], import("naive-ui").TreeOption[] | { [x: string]: unknown; key?: import("naive-ui/es/tree/src/interface").Key | undefined; label?: string | undefined; checkboxDisabled?: boolean | undefined; disabled?: boolean | undefined; isLeaf?: boolean | undefined; children?: any[] | undefined; prefix?: (() => import("vue").VNodeChild) | undefined; suffix?: (() => import("vue").VNodeChild) | undefined; }[]>; isSearch: import("vue").Ref; allCheckedTreeKeys: import("vue").Ref; curSelectKey: import("vue").Ref; treeDataMiddle: import("vue").Ref; checkedTagsMiddle: import("vue").Ref; allCheckedKeysMiddle: any; isSearchFilter: import("vue").ComputedRef; keyStr: import("vue").ComputedRef; onHandleLabelChange: (item: any) => void; setSelectTagData: (tree: TreeOption[], operatorType: string) => void; addTagToTemp: (tree: TreeOption[], operatorType: string) => void; init: () => void; setAllCheckedKeys: (tree: TreeOption, cb?: any) => void; setAllCheckedKeysWithChild: (item: TreeOption, cb?: any) => void; setAllCheckedKeysWithParent: (item: TreeOption, cb?: any) => void; queryLoadChildNode: (node: TreeOption) => Promise; setDisabled: (data: TreeOption) => void; renderLabel: ({ option }: { option: TreeOption; }) => any; getLabelName: (curProps: any, option: TreeOption) => {}; loopTrees: (treeObjs: any) => any; transformData: (key: string, trees: TreeOption[], parentNode: TreeOption | null, cb?: any) => import("naive-ui").TreeOption[]; calculateRootItems: (trees: TreeOption[], items: TreeOption[]) => import("naive-ui").TreeOption[]; searchSetting: () => string; onSearch: () => Promise; setTreeCheckd: (tree: TreeOption[], checked: boolean) => void; setCheckdWithChild: (tree: TreeOption[], checked: boolean) => void; setCheckdWithParent: (tree: TreeOption[], checked: boolean) => void; checkedAllChange: (checked: boolean) => void; updateTreeChecked: (keys: Array) => void; setCheckedAll: () => void; clearAll: () => void; closeTag: (tag: ITag) => void; notifySearchClear: () => void; getCheckWithLevel: () => any[]; readonly NButton: any; readonly NInput: any; readonly NInputGroup: any; readonly NCheckbox: any; readonly NTree: any; readonly NTag: any; readonly NIcon: any; readonly NSpace: any; readonly NGrid: any; readonly NGi: any; readonly NEmpty: any; readonly CloseCircleSharp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly; default: () => never[]; }; data: { type: PropType; default: () => never[]; }; searchPlaceholder: { type: StringConstructor; default: string; }; searchButtonText: { type: StringConstructor; default: string; }; wordbook: { type: PropType>; default: () => {}; }; wordbookChild: { type: PropType>; default: () => {}; }; showCount: { type: BooleanConstructor; default: boolean; }; showClear: { type: BooleanConstructor; default: boolean; }; multiple: { type: BooleanConstructor; default: boolean; }; searchInner: { type: BooleanConstructor; default: boolean; }; searchFilter: { type: PropType; default: () => {}; }; treeSetting: { type: PropType; default: () => {}; }; queryLoadChildData: { type: PropType<(node: TreeOption) => Promise>; default: undefined; }; queryTreeSearch: { type: PropType<(keyWork: string) => Promise>>; default: () => Promise; }; switchTypeProps: { type: PropType; default: () => never[]; }; switchTypeData: { type: PropType; default: () => {}; }; tagProps: { type: PropType; default: () => {}; }; forceShowSelectAll: { type: BooleanConstructor; }; }>> & Readonly<{}>, { data: ITreeOption[]; defaultList: (IKey | ITag)[]; searchPlaceholder: string; searchButtonText: string; wordbook: IWordBook; wordbookChild: IWordBookChild; showCount: boolean; showClear: boolean; multiple: boolean; searchInner: boolean; searchFilter: AnyObject; treeSetting: ITreeOption; queryLoadChildData: (node: TreeOption) => Promise; queryTreeSearch: (keyWork: string) => Promise>; switchTypeProps: AnyObject[]; switchTypeData: AnyObject; tagProps: AnyObject; forceShowSelectAll: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default;