import React from "react";
import { ElasticHit, ReactivesearchError } from "../../types";
export type StatsProps = {
    /** Render method */
    render?: React.FC<{
        isLoading: boolean;
        hits: {
            hidden: number;
            time: number;
            total: number;
            hits: Array<ElasticHit>;
        };
        resultStats: {
            hidden: number;
            numberOfResults?: number;
            promoted: number;
            time: number;
        };
        error?: ReactivesearchError;
    }>;
};
export declare const Stats: React.FC<StatsProps>;
