import React from 'react'; import { FormComponentProps, WrappedFormUtils } from 'antd/lib/form/Form'; import { FormRenderProps } from '../AntdFormRender/Types'; import './Filter.less'; export declare type IFilterProps = { /** 查询按钮文案 */ SearchButtonText?: string; /** 重置按钮文案 */ ResetButtonText?: string; /** 使用默认查询按钮 */ defaultButtons?: boolean; /** 查询点击后回调事件 */ onSearch: (filters: Record) => void; /** 查询点击后回调事件 */ onReset: (filters: Record | null) => void; /** 是否在查询 */ loading: boolean; /** prefix class name*/ prefixClass?: string; } & FormRenderProps; export declare type FilterRef = { getFilterHandle: () => WrappedFormUtils; }; declare const _default: import("antd/lib/form/interface").ConnectedComponentClass) => void; /** 查询点击后回调事件 */ onReset: (filters: Record | null) => void; /** 是否在查询 */ loading: boolean; /** prefix class name*/ prefixClass?: string | undefined; } & FormRenderProps> & FormComponentProps> & React.RefAttributes>, import("antd/lib/_util/type").Omit<{ /** 查询按钮文案 */ SearchButtonText?: string | undefined; /** 重置按钮文案 */ ResetButtonText?: string | undefined; /** 使用默认查询按钮 */ defaultButtons?: boolean | undefined; /** 查询点击后回调事件 */ onSearch: (filters: Record) => void; /** 查询点击后回调事件 */ onReset: (filters: Record | null) => void; /** 是否在查询 */ loading: boolean; /** prefix class name*/ prefixClass?: string | undefined; } & FormRenderProps> & FormComponentProps, "form">>; export default _default;