import { UserService } from 'smartstock-core'; import { CategoryModel } from '../models/category.model'; import * as i0 from "@angular/core"; export declare class CategoryService { private readonly userService; constructor(userService: UserService); private static withWorker; startChanges(): Promise; stopChanges(): Promise; addCategory(category: CategoryModel, id?: any): Promise; deleteCategory(category: CategoryModel): Promise; getAllCategory(): Promise; private remoteAllCategories; getAllCategoryRemote(): Promise; getCategory(id: string): Promise; search(q: string): Promise; save(category: CategoryModel): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }