import type { StatisticsDetail, StatisticsPoint, StatisticsQuery, StatisticsRecordPage } from '../../statistics-contract.js'; export type StatisticsResource = { value?: T; loading: boolean; error: string; }; export declare const statisticsError: (error: unknown) => string; export declare function useStatistics(kind: 'detail' | 'active' | 'long' | 'keywords', query: StatisticsQuery, enabled: boolean, revision: number): StatisticsResource; //# sourceMappingURL=use-statistics.d.ts.map