import { Field } from '@alicloud/console-components';
import React from 'react';
interface data {
    /** 组件类型 input, select, custom */
    type?: string;
    /** custom自定义组件，初始化属性props含有value和setValue等,
     * setValue用于更新组件值到form中 */
    template?: Function;
    /** field.init(name,options)中的name */
    name: string;
    /** field.init(name,options)中的options */
    options?: object;
    /**  表单文案 */
    label: string;
    /** input,select…,template的props */
    props: object;
}
interface propTypes {
    /** 是否默认展开 */
    expandByDefault: boolean;
    /** 过滤回调 */
    onFilter: Function;
    /** 展开/收起回调 */
    onExpand: Function;
    /** 重置回调 */
    onReset: Function;
    /** 过滤按钮文案 */
    filterText: string;
    /** 重置按钮文案 */
    resetText: string;
    /** 默认选项 */
    source: data[];
    /** 额外选项 */
    extraSource: data[];
    /**右边的icon区 */
    Icons: any[];
}
interface defaultType {
    expandByDefault: boolean;
    filterText: string;
    resetText: string;
}
interface stateType {
    expanded: boolean;
}
export default class Filter extends React.Component<propTypes, stateType> {
    static defaultProps: defaultType;
    field: Field;
    constructor(props: any);
    toggleExpanded: () => void;
    proxyOnChange: (v: any, reset: any, onChange: any, other: any) => void;
    renderForm(formSource: any, expanded: any): any;
    renderExpandBtn(expanded: any): JSX.Element;
    renderBtns(): JSX.Element;
    returnIcons: (icons: any) => any;
    render(): JSX.Element;
}
export {};
