import { LicenseState } from '@n8n/backend-common'; import { InsightsByPeriodRepository } from './database/repositories/insights-by-period.repository'; export declare class InsightsSettings { private readonly licenseState; private readonly insightsByPeriodRepository; constructor(licenseState: LicenseState, insightsByPeriodRepository: InsightsByPeriodRepository); settings(): Promise<{ summary: boolean; dashboard: boolean; dateRanges: DateRange[]; earliestDataDate: string | null; }>; private getAvailableDateRanges; } type DateRange = { key: 'day' | 'week' | '2weeks' | 'month' | 'quarter' | '6months' | 'year'; licensed: boolean; granularity: 'hour' | 'day' | 'week'; }; export {};