import { HttpClient } from '@angular/common/http'; import { ReplaySubject, Observable } from 'rxjs'; import * as i0 from "@angular/core"; export declare class Document implements DocumentHeader { constructor(json?: any); slug: string[]; title: { fr: string; en: string; }; header: { fr: string; en: string; }; content: { fr: string; en: string; }; photo: { header: string; bundle: string[]; }; deleted: boolean; available: boolean; published: boolean; skus: number[]; style: string; signature: string; created: Date; type: string; } export interface DocumentHeader { slug: string[]; title: { fr: string; en: string; }; available: boolean; published: boolean; signature: string; } export declare class DocumentService { private http; category$: ReplaySubject; config: any; private cache; private headers; constructor(http: HttpClient); private deleteCache; private updateCache; getCategories(): string[]; select(type: string, headersOnly?: boolean): Observable; get(slug: string): Observable; getAll(headersOnly?: boolean): Observable; loaded(type?: string): Document[]; save(slug: string, doc: Document): Observable; create(doc: Document): Observable; remove(slug: string, password?: string): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } //# sourceMappingURL=document.service.d.ts.map