import { Repository } from 'typeorm'; import { Rewards } from '../rewards/rewards.entity'; import { Category } from './category.entity'; import { CreateCategoryDto } from './dto/createCategory.dto'; import { GetCategoryDto } from './dto/getCategory.dto'; import { UpdateCategoryDto } from './dto/updateCategory.dto'; export declare class CategoryService { private categoryRepository; constructor(categoryRepository: Repository); add(data: CreateCategoryDto): Promise; get(filters: GetCategoryDto): Promise; getById(id: any): Promise; patch(id: string, data: UpdateCategoryDto): Promise; createDefaultCategoriesForStore({ storeId, programId, }: { storeId: string; programId: string; }): Promise; private getDefaultCategoriesForStore; updateIfAllowed(category: Category, status: boolean, name: string): { status: boolean; name: string; id: string; icon?: string; isDefault?: boolean; redeemBy: import("./category.entity").RedeemMethods; customersCategory: import("../rewardsCategoryCustomerCategory/rewardsCategoryCustomerCategory.entity").RewardsCategoryCustomerCategory[]; rewards: Rewards[]; storeId: string; programId: string; registerDate?: Date; updateDate?: Date; }; }