import { UserEntity } from './entities/user.entity';
import { Repository } from 'typeorm';
import { AppUser } from 'src/app_users/entities/app_user.entity';
export declare class UserRepository {
    private readonly userRepository;
    private readonly appUserRepository;
    constructor(userRepository: Repository<UserEntity>, appUserRepository: Repository<AppUser>);
    findAll(): Promise<{
        profile_picture: string;
        id: string;
        first_name: string;
        last_name: string;
        password: string;
        email: string;
        contact_no: number;
        status: number;
        access_token: string;
        access_token_expiry: string;
        updated_at: Date;
        created_at: Date;
        deleted_at: Date;
    }[]>;
    findOne(id: string): Promise<{
        profile_picture: string;
        id: string;
        first_name: string;
        last_name: string;
        password: string;
        email: string;
        contact_no: number;
        status: number;
        access_token: string;
        access_token_expiry: string;
        updated_at: Date;
        created_at: Date;
        deleted_at: Date;
    }>;
    findUserId(id: string): Promise<{
        id: string;
        first_name: string;
        last_name: string;
        password: string;
        email: string;
        contact_no: number;
        profile_picture: string;
        status: number;
        access_token: string;
        access_token_expiry: string;
        updated_at: Date;
        created_at: Date;
        deleted_at: Date;
    }>;
    findOneForPassword(email: string): Promise<{
        id: string;
        first_name: string;
        last_name: string;
        password: string;
        email: string;
        contact_no: number;
        profile_picture: string;
        status: number;
        access_token: string;
        access_token_expiry: string;
        updated_at: Date;
        created_at: Date;
        deleted_at: Date;
    }>;
    findByEmail(email: string): Promise<{
        profile_picture: string;
        id: string;
        first_name: string;
        last_name: string;
        password: string;
        email: string;
        contact_no: number;
        status: number;
        access_token: string;
        access_token_expiry: string;
        updated_at: Date;
        created_at: Date;
        deleted_at: Date;
    }>;
    findUserTokenExpiry(access_token: string): Promise<UserEntity>;
    findAppUserTokenExpiry(access_token: string): Promise<AppUser>;
}
