import * as PropTypes from 'prop-types'; import 'antd/lib/button/style'; import 'antd/lib/col/style'; import 'antd/lib/form/style'; import 'antd/lib/input/style'; import 'antd/lib/row/style'; import 'antd/lib/select/style'; import 'antd/lib/date-picker/style'; import './style/index.less'; export interface Action { onClick: (filters: object) => void; text: string; } export interface FiltersProps { columns: []; defaultValues: { [key: string]: string; }; form: any; moreActions: object[]; onSearch: (filters: object) => void; showReset: boolean; prefixCls: string; onFieldsChange: (props: [], changeFields: object, allFields: []) => void; } export interface FormItem { controlProps: object; dataIndex: string; filterType: string; options: object[]; title: string; } export interface Option { text: string; value: any; } export declare const FilterPropTypes: { columns: PropTypes.Requireable; form: PropTypes.Requireable; onSearch: PropTypes.Requireable<(...args: any[]) => any>; defaultValues: PropTypes.Requireable; moreActions: PropTypes.Requireable; showReset: PropTypes.Requireable; onFieldsChange: PropTypes.Requireable<(...args: any[]) => any>; }; export declare const FilterDefaultProps: { columns: never[]; defaultValues: {}; form: {}; moreActions: never[]; onSearch: typeof noop; showReset: boolean; prefixCls: string; onFieldsChange: typeof noop; }; export declare const enum FiltersType { select = "select", input = "input", range = "range", date = "date" } declare function noop(): void; declare const _default: any; export default _default;