import * as admin from 'firebase-admin'; import IORedis from 'ioredis'; import { EntityManager, Repository } from 'typeorm'; import { User, Wallet } from './database/entities'; import { RefCode } from './database/entities/refcode.entity'; import { CheckWaitListByAddressesDto, CheckWaitListByTelegramIdDto, GetWaitListUsersDto, GetWaitListUsersResponse, OnboardDto } from './funki-id.dto'; export declare class FunkiIdService { private readonly auth; private readonly userRepo; private readonly walletRepo; private readonly refCodeRepo; private readonly entityManager; private readonly redis; constructor(auth: admin.auth.Auth, userRepo: Repository, walletRepo: Repository, refCodeRepo: Repository, entityManager: EntityManager, redis: IORedis); verifyToken(token: string): Promise; findOrCreateUserByFirebaseToken(token: admin.auth.DecodedIdToken): Promise; private generateRefCodes; me(uid: string): Promise; getWalletAddresses(funkiId: string): Promise; getFunkiIdByWalletAddress(walletAddress: string): Promise; updateName(user: User, name: string): Promise<{ name: string; uid: string; email: string; telegramId?: string; xId?: string; discordId?: string; redditId?: string; steamId?: string; telegram: { id: string; username: string; avatar: string; allowSendPM: boolean; ages: number; }; x: Record; discord: Record; reddit: Record; steam: Record; wallets: Wallet[]; refCodes: RefCode[]; hasRequestedDeletion: boolean; referees: User[]; referrerUid?: string; referrer?: User; onboarded: boolean; onboardWallet: string; waitlistOrder: number; createdAt: string; } & User>; getUserNameByFunkiIds(funkiIds: string[]): Promise<{ funkiId: string; name: string; }[]>; onboard(user: User, dto: OnboardDto): Promise; onboardWallet(user: User, walletAddress: string): Promise; getWaitlistUsers(dto: GetWaitListUsersDto): Promise; getOnboardedUsersCount(): Promise; updateAvatar(telegramId: string, avatar: string): Promise; checkWaitListByAddresses(dto: CheckWaitListByAddressesDto): Promise; checkWaitListByTelegramId(dto: CheckWaitListByTelegramIdDto): Promise; }