import type { ReactNode } from 'react'; import React from 'react'; import type { BaseFilterProps, InternalFilterProps } from '../type'; export interface CheckboxOption { label: ReactNode; value: string; disabled?: boolean; /** 状态颜色,如果提供则启用状态模式(显示重叠图标、使用 Badge 显示) */ color?: string; } export interface FilterCheckboxProps extends BaseFilterProps, InternalFilterProps { /** 选项列表 */ options?: CheckboxOption[]; /** 当前选中值 */ value?: string[]; /** 值变化回调 */ onChange?: (value: string[]) => void; /** 是否显示计数,可传入 { showTotal: true } 同时显示总数 */ count?: boolean | { showTotal?: boolean; }; /** 是否显示搜索框,默认为 false */ showSearch?: boolean; } declare const _default: React.NamedExoticComponent; export default _default;