import React from 'react';
import { WxTableProps } from '../WxTable';
import { WxRequest } from '../utils/requestWxApi';
export interface WxTableWithApiProps {
    onWxApi: (filterOptions: FilterOptions) => WxRequest;
    deps?: Array<any>;
    enableDateFilter?: boolean;
    enableDateRangeFilter?: boolean;
    additionalFilter?: React.ReactNode;
}
interface FilterOptions {
    page: number;
    pageSize: number;
    date?: Date;
    from?: Date;
    until?: Date;
}
declare function WxTableWithApi({ onWxApi, options, deps, enableDateFilter, enableDateRangeFilter, additionalFilter, ...restProps }: WxTableWithApiProps & Omit<WxTableProps<any>, 'data'>): JSX.Element;
export default WxTableWithApi;
