import { CommonService } from 'src/common/common.service';
import { CategoryService } from './category.service';
import { CategoryListDto, CreateCategoryDto, UpdateCategoryDto } from './dto/category.dto';
export declare class CategoryController {
    private readonly categoryService;
    private readonly common;
    constructor(categoryService: CategoryService, common: CommonService);
    create(req: any, dto: CreateCategoryDto): Promise<{
        status: string;
        message: string;
        data: any;
    }>;
    list(req: any, query: CategoryListDto): Promise<{
        status: string;
        message: string;
        data: any[];
        pagination: {
            total: number;
            page: number;
            limit: number;
            totalPages: number;
            hasNextPage: boolean;
            hasPrevPage: boolean;
        };
    }>;
    getById(req: any, id: string): Promise<{
        status: string;
        message: string;
        data: any;
    }>;
    update(req: any, id: string, dto: UpdateCategoryDto): Promise<{
        status: string;
        message: string;
        data: any;
    }>;
}
