import { OptionProps } from 'rc-select/lib/Option'; declare const stateArr: string[]; export declare type StateArr = typeof stateArr; export default function (data: T | OptionProps[], states?: StateArr): (state: keyof T) => JSX.Element; export {};