import type { ExtractPropTypes, PropType } from 'vue'; import { Arrayable } from '../../utils'; export declare const symbolSearch: unique symbol; export type OptionItemType = 'radio' | 'checkbox' | 'select' | 'datetimerange' | 'date' | 'daterange'; export type OptionItemOptions = { label: string; value: string | number; }[]; export interface ReaultType { [Key: string]: Arrayable | undefined; } export declare const novaSearchItemPublic: { /** * 选项类型 */ readonly type: { readonly type: PropType; readonly default: null; }; /** * 关键字标识 */ readonly prop: { readonly type: StringConstructor; readonly default: null; }; /** * 文字标题 */ readonly label: { readonly type: StringConstructor; readonly default: null; }; /** * 待选项 */ readonly options: { readonly type: PropType; }; /** * 选择项大小 */ readonly size: StringConstructor; /** * col 栅格布局 */ readonly span: { readonly type: NumberConstructor; readonly default: 24; }; /** * 选中的数据 */ readonly value: { readonly type: PropType>; readonly default: undefined; }; /** * 默认的选中数据 */ readonly defaultValue: { readonly type: PropType>; readonly default: undefined; }; /** * 自定义筛选组件props */ readonly customProps: FunctionConstructor; /** * 自定义筛选组件options的props */ readonly customOptionsProps: FunctionConstructor; }; export declare const novaSearchProps: { /** * 默认的搜索值 */ readonly inputValue: StringConstructor; /** * 是否展示选择结果 */ readonly showResult: { readonly type: BooleanConstructor; readonly default: true; }; /** * 是否展示输入框 */ readonly showInput: { readonly type: BooleanConstructor; readonly default: true; }; }; export declare const novaSearchEmits: { change: (value: any) => boolean; search: (value: any) => boolean; }; export type NovaSearchItemPublic = ExtractPropTypes; export type NovaSearchProps = ExtractPropTypes; export type NovaSearchEmits = typeof novaSearchEmits; export type NovaSearchStoreType = { inputValue?: string; filterOptions: { [key: string]: NovaSearchItemPublic; }; init: (props: NovaSearchProps) => void; initSelectProp: (props: NovaSearchItemPublic) => void; clearSelect: (prop: string) => void; };