import type { FastifyPluginAsync } from 'fastify';
import type { StatsGateway } from '../../../../../modules/statistics-insights/entities/stats/stats.gateway.js';
import type { DiffStatsFetchGateway } from '../../../../../modules/shared-kernel/entities/diffStats/diffStatsFetch.gateway.js';
import type { BackfillProgress } from '../../../../../modules/statistics-insights/entities/backfill/backfillProgress.js';
interface RepositoryInfo {
    localPath: string;
    name: string;
    enabled: boolean;
    platform?: string;
}
interface StatsRoutesOptions {
    statsGateway: StatsGateway;
    getRepositories: () => RepositoryInfo[];
    diffStatsFetchGateways?: {
        gitlab: DiffStatsFetchGateway;
        github: DiffStatsFetchGateway;
    };
    broadcastBackfillProgress?: (progress: BackfillProgress) => void;
    logger?: {
        warn: (message: string, data?: unknown) => void;
        info: (message: string, data?: unknown) => void;
        error: (message: string, data?: unknown) => void;
    };
}
export declare const statsRoutes: FastifyPluginAsync<StatsRoutesOptions>;
export {};
//# sourceMappingURL=stats.routes.d.ts.map