import { HttpClient } from '@angular/common/http'; import { Observable, Subject } from 'rxjs'; import { SubscriptionModel, SubscriptionData } from '../api/subscriptions'; import { SearchService } from '@lacuna/material'; import * as i0 from "@angular/core"; export declare class SubscriptionService implements SearchService { protected http: HttpClient; changed: Observable; protected cache: SubscriptionModel[]; protected changedSubject: Subject; constructor(http: HttpClient); list(): Observable; create(data: SubscriptionData): Observable; get(id: string): Observable; update(id: string, data: SubscriptionData): Observable; checkNameAvailable(name: string, id?: string): Observable; protected updateCache(m: SubscriptionModel, notifyChanged: boolean): void; protected notifyChanged(id: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }