import { HttpClient } from '@angular/common/http'; import { ReplaySubject, Observable, BehaviorSubject } from 'rxjs'; import * as i0 from "@angular/core"; export declare class Category { constructor(json?: any); deleted: boolean; _id: string; slug: string; group: string; cover: string; color: string; description?: string; image: string; name: string; weight: number; type: string; home: boolean; active: boolean; usedBy?: number[]; tags: string[]; child: { name: string; weight: number; }[]; } export declare class CategoryService { private http; category$: ReplaySubject; categories$: BehaviorSubject | ReplaySubject; config: any; private cache; private headers; constructor(http: HttpClient); private deleteCache; private updateCache; getCurrent(): void; findNameBySlug(slug: string): Observable; findBySlug(slug: string): Observable; findByGroup(name: string): Category[]; select(filter?: any): Observable; get(slug: string): Observable; save(slug: string, cat: Category): Observable; create(cat: Category): Observable; remove(slug: string, password: string): Observable; private handleError; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } //# sourceMappingURL=category.service.d.ts.map