import { ClientState, FullConfig } from '../model/config'; import { Identification } from '../model/identification'; import { Session } from '../model/session'; export declare const IDENTIFICATION_KEY = "bigdelta_analytics_identification"; export declare const TRACKING_ENABLED_STATE_KEY = "bigdelta_analytics_tracking_enabled"; export declare const TRACK_IP_AND_GEOLOCATION_STATE_KEY = "bigdelta_analytics_track_ip_and_geolocation"; export declare const SESSION_KEY = "bigdelta_analytics_session"; export declare class PersistentStorage { private config; constructor(config: FullConfig); saveIdentification(identification: Identification): void; loadIdentification(): Identification; saveClientState(clientState: ClientState): void; loadClientState(): { trackingEnabled: boolean; trackIpAndGeolocation: boolean; }; saveSession(session: Session): void; loadSession(): Session; private get; private persist; private remove; private getCookie; private setCookie; private removeCookie; private getFromLocalStorage; private setInLocalStorage; private removeFromLocalStorage; }