import { PrismaService } from '../../common/services/prisma.service';
export declare class UserService {
    private prisma;
    constructor(prisma: PrismaService);
    getOrCreateUser(from: any): Promise<{
        tests: {
            result: string | null;
            id: number;
            createdAt: Date;
            userId: number;
            answers: import("@prisma/client/runtime/library").JsonValue;
            currentStep: number;
            completedAt: Date | null;
        }[];
    } & {
        id: number;
        telegramId: string;
        username: string | null;
        firstName: string | null;
        isPremium: boolean;
        createdAt: Date;
        preResultMessage: string | null;
        testsCountAfterPayment: number | null;
    }>;
    findByTelegramId(telegramId: string): Promise<({
        tests: {
            result: string | null;
            id: number;
            createdAt: Date;
            userId: number;
            answers: import("@prisma/client/runtime/library").JsonValue;
            currentStep: number;
            completedAt: Date | null;
        }[];
    } & {
        id: number;
        telegramId: string;
        username: string | null;
        firstName: string | null;
        isPremium: boolean;
        createdAt: Date;
        preResultMessage: string | null;
        testsCountAfterPayment: number | null;
    }) | null>;
}
