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