import { ReviewsService } from './reviews.service';
import { CreateReviewDto } from './dto/create-review.dto';
export declare class ReviewsController {
    private readonly reviewsService;
    constructor(reviewsService: ReviewsService);
    create(createReviewDto: CreateReviewDto, req: any): Promise<{
        id: string;
        createdAt: Date;
        productId: string;
        userId: string | null;
        rating: number;
        comment: string | null;
        isApproved: boolean;
    }>;
    findApproved(productId: string): Promise<({
        user: {
            name: string;
            image: string;
        };
        product: {
            name: string;
            slug: string;
        };
    } & {
        id: string;
        createdAt: Date;
        productId: string;
        userId: string | null;
        rating: number;
        comment: string | null;
        isApproved: boolean;
    })[]>;
    findAll(productId?: string): Promise<({
        user: {
            name: string;
            image: string;
        };
        product: {
            name: string;
            slug: string;
        };
    } & {
        id: string;
        createdAt: Date;
        productId: string;
        userId: string | null;
        rating: number;
        comment: string | null;
        isApproved: boolean;
    })[]>;
    findOne(id: string): Promise<{
        id: string;
        createdAt: Date;
        productId: string;
        userId: string | null;
        rating: number;
        comment: string | null;
        isApproved: boolean;
    }>;
    updateStatus(id: string, isApproved: boolean): Promise<{
        id: string;
        createdAt: Date;
        productId: string;
        userId: string | null;
        rating: number;
        comment: string | null;
        isApproved: boolean;
    }>;
    remove(id: string): Promise<{
        id: string;
        createdAt: Date;
        productId: string;
        userId: string | null;
        rating: number;
        comment: string | null;
        isApproved: boolean;
    }>;
}
