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