/** * Recomputes and upserts admin stats for a single user. */ export declare function refreshUserStats(userId: string): Promise; /** * Backfills or refreshes admin stats for a batch of users (ordered by created_at, id). * @returns Number of rows upserted. */ export declare function backfillStatsBatch(limit: number, offset: number): Promise; /** Recomputes stats for an explicit set of users (batch upsert). */ export declare function refreshUserStatsForIds(userIds: string[]): Promise; /** Total users (for backfill progress). */ export declare function countUsers(): Promise; /** Users missing a stats row (needs initial backfill). */ export declare function countUsersMissingStats(): Promise; //# sourceMappingURL=userAdminStatsRepository.d.ts.map