export type ReportQueryOptions = { search?: string; from?: string; to?: string; sortBy?: string; sortDir?: 'asc' | 'desc'; limit: number; offset?: number; cursor?: string; includeTotal?: boolean; /** Extra filters from report preset (status, isAuto, etc.) */ preset?: Record; /** When set, return only rows whose primary key is in this list */ ids?: string[]; }; export type ReportSummary = { totalCount?: number; uniqueUsers?: number; totalAmountRaw?: number; }; export type ReportPageResult = { items: Record[]; total: number; columns: { field: string; headerName: string; type?: string; }[]; nextCursor?: string | null; hasMore?: boolean; totalIsExact?: boolean; summary?: ReportSummary; }; export declare function runReport(reportKey: string, options: ReportQueryOptions): Promise; export declare function exportReportRows(reportKey: string, options: ReportQueryOptions): Promise; //# sourceMappingURL=reportsRepository.d.ts.map