import { PrismaService } from '../prisma/prisma.service';
import { CreateSessionDto, UpdateSessionDto } from './dto/session.dto';
export declare class SessionsService {
    private prisma;
    constructor(prisma: PrismaService);
    create(createSessionDto: CreateSessionDto): Promise<{
        id: number;
        createdAt: Date;
        type: string;
        description: string | null;
        title: string;
        courseId: number;
        startTime: Date;
        endTime: Date;
        location: string | null;
    }>;
    findAll(): Promise<({
        course: {
            title: string;
        };
    } & {
        id: number;
        createdAt: Date;
        type: string;
        description: string | null;
        title: string;
        courseId: number;
        startTime: Date;
        endTime: Date;
        location: string | null;
    })[]>;
    findOne(id: number): Promise<{
        course: {
            id: number;
            level: string | null;
            createdAt: Date;
            updatedAt: Date;
            description: string | null;
            title: string;
            code: string;
            instructor: string | null;
            category: string;
            credits: number;
            semester: number | null;
            academicYear: string | null;
            language: string | null;
            learningOutcomes: string[];
            capacity: number | null;
            isPublished: boolean;
        };
    } & {
        id: number;
        createdAt: Date;
        type: string;
        description: string | null;
        title: string;
        courseId: number;
        startTime: Date;
        endTime: Date;
        location: string | null;
    }>;
    update(id: number, updateSessionDto: UpdateSessionDto): Promise<{
        id: number;
        createdAt: Date;
        type: string;
        description: string | null;
        title: string;
        courseId: number;
        startTime: Date;
        endTime: Date;
        location: string | null;
    }>;
    remove(id: number): Promise<{
        id: number;
        createdAt: Date;
        type: string;
        description: string | null;
        title: string;
        courseId: number;
        startTime: Date;
        endTime: Date;
        location: string | null;
    }>;
}
