import React from "react"; export interface OptionType { label: React.ReactNode; value: string | number; disabled?: boolean; } export interface FRCFilterProps { /** 全选按钮文本 */ allText?: string; /** filter 类名 */ className?: string; /** 默认选中的值 */ defaultValue?: Array; /** 配置筛选项 */ options?: OptionType[]; /** 选择筛选项的回调 value为选中的值,仅当触发全选按钮时有allValue参数*/ onChange?: (value: Array, allValue?: Array) => void; /** filter 样式 */ style?: React.CSSProperties; /** 已选中的值 */ value?: Array; /** 是否支持多选 */ multiple?: boolean; /** 是否展示全选按钮,全选按钮的value为"ALL" */ showAll?: boolean; /** 在多选模式下且展示全选按钮,当选择所有元素时,是否自动跳回全选项 */ autoSelectAll?: boolean; } export declare const Filter: React.FC; export default Filter;