import { Router } from '@angular/router'; import { SegmentEventStrict, SegmentEventName, SegmentEvent } from '../types/segment.type'; import * as i0 from "@angular/core"; /** Provide Segment analytics API with strict event typing */ export declare class SegmentService { private writeKey; private Router; /** Analytics API instance */ private get _analytics(); /** Store previous route name */ private _referrer; /** Inject Segment write key and initialise route tracking */ constructor(writeKey: string, Router: Router); /** Call Analytics track method */ private _track; /** Call Analytics page method */ page(): void; /** Call Analytics track method with strict event type */ track(event_: SegmentEventStrict): void; /** Callan Analytics identify method */ identify(props_: { [key: string]: any; }): void; /** Call Analytics track method with any event type */ trackCustom(event_: SegmentEvent): void; static ɵfac: i0.ɵɵFactoryDef; static ɵprov: i0.ɵɵInjectableDef; } //# sourceMappingURL=segment.service.d.ts.map