import { Observable } from 'rxjs'; import { ObservablePlausibleEvents, PlausibleEvent, PlausibleOptions } from './plausible-types'; import * as i0 from "@angular/core"; declare global { interface Window { plausible: Function; } } export declare class PlausibleService { private platformId; constructor(platformId: string); event(event: PlausibleEvent | null, options?: PlausibleOptions): void; observe({ loading, success: successEvent, error: errorEvent, }: ObservablePlausibleEvents): (source: Observable) => Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }