import { FindOneOptions } from 'typeorm/find-options/FindOneOptions'; import { UserProfile } from './user.entities'; export declare class AuthedUserHelper { static createProfile(profile: UserProfile): Promise; static getProfileById(id: string | number, options?: FindOneOptions): Promise; static getProfile({ email, username }: { username?: string; email?: string; }, options?: FindOneOptions): Promise; static getUserById(id: string | number, options?: FindOneOptions): Promise; static getProfileByUserId(userId: string): Promise; static getUserByProfileId(profileId: string, relations?: string[]): Promise; static getUser({ email, username }: { username?: string; email?: string; }): Promise; }