import { PrismaService } from 'src/prisma/prisma.service';
import { NoteEntityType, NoteType, User } from 'generated/prisma/client';
import { CreateNoteDto } from './dto/create-note.dto';
export declare class NotesService {
    private readonly prisma;
    createNote(entityType: NoteEntityType, entityId: string, type: NoteType, content: string, createdBy: string): Promise<{
        id: string;
        createdAt: Date;
        createdBy: string;
        entityId: string;
        type: NoteType;
        content: string;
        entityType: NoteEntityType;
    }>;
    constructor(prisma: PrismaService);
    create(dto: CreateNoteDto, user: User): Promise<{
        id: string;
        createdAt: Date;
        createdBy: string;
        entityId: string;
        type: NoteType;
        content: string;
        entityType: NoteEntityType;
    }>;
    findByEntity(entityId: string): Promise<{
        id: string;
        createdAt: Date;
        createdBy: string;
        entityId: string;
        type: NoteType;
        content: string;
        entityType: NoteEntityType;
    }[]>;
    private assertEntityExists;
}
