import { CreateAuthorDto } from './dto/create-author.dto';
import { UpdateAuthorDto } from './dto/update-author.dto';
import { AuthorEntity } from './schemas/author.schema';
import { DbService } from "../db/db.service";
export declare class AuthorsService {
    private readonly model;
    constructor(model: DbService);
    private buildQueryFilter;
    create(createAuthorDto: CreateAuthorDto): Promise<AuthorEntity>;
    findAll(): Promise<AuthorEntity[]>;
    findOne(id: string): Promise<AuthorEntity>;
    update(id: string, updateAuthorDto: UpdateAuthorDto): Promise<AuthorEntity>;
    delete(id: string): Promise<{
        success: boolean;
        message: string;
    }>;
}
