import { ListInsightsWorkflowQueryDto } from '@n8n/api-types';
import type { InsightsSummary, InsightsByTime, InsightsByWorkflow } from '@n8n/api-types';
import { AuthenticatedRequest } from '../../requests';
import { InsightsService } from './insights.service';
export declare class InsightsController {
    private readonly insightsService;
    private readonly maxAgeInDaysFilteredInsights;
    constructor(insightsService: InsightsService);
    getInsightsSummary(): Promise<InsightsSummary>;
    getInsightsByWorkflow(_req: AuthenticatedRequest, _res: Response, payload: ListInsightsWorkflowQueryDto): Promise<InsightsByWorkflow>;
    getInsightsByTime(): Promise<InsightsByTime[]>;
}
