/** * Shared query parsing for admin user list and export endpoints. */ import type { AdminSortBy } from '../repositories/userRepository'; import type { AdminListUsersOptions } from '../services/adminService'; export declare const ADMIN_USER_SORT_FIELDS: AdminSortBy[]; export declare function parseBoolQuery(value: string | boolean | undefined): boolean | undefined; export declare function parseIntQuery(value: string | undefined): number | undefined; export declare function parseAgeQuery(value: string | undefined): number | undefined; type QuerySource = Record | { [key: string]: string | undefined; }; /** Normalizes dashboard/report date query params to UTC bounds. */ export declare function parseDashboardPeriodBounds(source: QuerySource): { from?: string; to?: string; }; export declare function parseAdminUserListOptions(source: QuerySource, overrides?: Partial): AdminListUsersOptions; export declare const ADMIN_USER_EXPORT_COLUMNS: readonly ["id", "email", "full_name", "account_status", "role_name", "country_of_residence", "nationality", "date_of_birth", "age_category", "referral_code", "first_deposit_at", "first_deposit_transaction_id", "email_verified", "main_balance_raw", "bonus_balance_raw", "total_bonus_received_raw", "prediction_count", "net_pnl_raw", "total_stake_raw", "total_payout_raw", "created_at", "last_login_at", "last_activity_at", "is_enabled", "withdrawals_suspended", "under_surveillance", "totp_enabled", "is_account_non_expired", "is_account_non_locked", "is_credentials_non_expired"]; export type AdminUserExportColumn = (typeof ADMIN_USER_EXPORT_COLUMNS)[number]; export declare function sanitizeExportColumns(columns: unknown): AdminUserExportColumn[]; export {}; //# sourceMappingURL=adminUserListQuery.d.ts.map