games_app/backend/dist/services/adminUserExportFormat.d.ts
2026-06-29 15:01:23 +02:00

9 lines
681 B
TypeScript

/**
* Row formatting for admin user export (XLSX/CSV).
*/
import type { AdminUserListItem } from '../services/adminService';
import type { AdminUserExportColumn } from '../utils/adminUserListQuery';
export declare const EXPORT_COLUMN_HEADERS: Record<AdminUserExportColumn, string>;
export declare function exportCellValue(column: AdminUserExportColumn, user: AdminUserListItem, countryName: (code: string | null | undefined) => string): string | number;
export declare function buildExportRows(users: AdminUserListItem[], columns: AdminUserExportColumn[], countryName: (code: string | null | undefined) => string): unknown[][];
//# sourceMappingURL=adminUserExportFormat.d.ts.map