import { Observable } from 'rxjs'; import { AngularFirestore } from '@angular/fire/firestore'; import { BaseService } from './baseservice'; import { Categoria } from '../interface/categorie'; export interface Obcat extends Categoria { childs: Obcat[]; } export declare class CategorieService extends BaseService { constructor(afs: AngularFirestore); routesbyCategoria(key: any): Observable; linkmap(key: any): Observable; getCats(): Observable; getOB(): Observable<{ childs: Obcat[]; id: string; slug: string; Attivo: boolean; UrlImg: string; parent: string; catalogo_id: string; image_id: string; }[]>; groupParent(): Observable; getCategorieBase(): void; crea(id: any, categoria: Categoria): void; byParent(parent: any): Observable<{ id: string; slug: string; Attivo: boolean; UrlImg: string; parent: string; catalogo_id: string; image_id: string; }[]>; }