/** * Analytics explore caps — shared across backend and admin UI. * * Single source of truth for date-span limits, export row caps, and * drilldown pagination defaults (plan v1.3.1). */ export type ExploreCallerKind = 'admin_default' | 'admin_detailed_manage' | 'dev_single_tenant' | 'dev_scope_all'; export interface ExploreCapsForCaller { readonly maxDateSpanDays: number; readonly maxExportRows: number; readonly clampLast5Years: boolean; } export declare const ANALYTICS_EXPLORE_CAPS: Readonly<{ readonly admin_default: Readonly<{ maxDateSpanDays: 90; maxExportRows: 50000; clampLast5Years: true; }>; readonly admin_detailed_manage: Readonly<{ maxDateSpanDays: 1825; maxExportRows: 50000; clampLast5Years: false; }>; readonly dev_single_tenant: Readonly<{ maxDateSpanDays: 1825; maxExportRows: 50000; clampLast5Years: false; }>; readonly dev_scope_all: Readonly<{ maxDateSpanDays: 31; maxExportRows: 10000; clampLast5Years: true; }>; }>; export declare const ANALYTICS_MAX_DISTINCT_EVENT_NAMES_PER_SESSION: 40; export declare const ANALYTICS_DRILLDOWN_DEFAULT_PAGE_SIZE: 50; export declare const ANALYTICS_DRILLDOWN_MAX_PAGE_SIZE: 200; export declare const ANALYTICS_EXPLORE_SLOW_QUERY_MS: 800; export declare const ANALYTICS_EXPLORE_STATEMENT_TIMEOUT_MS: 20000; export declare function computeUtcDateSpanDaysInclusive(startDate: string, endDate: string): number; //# sourceMappingURL=analyticsExploreCaps.d.ts.map