import * as i0 from "@angular/core"; /** * Utility functions related to browser localStorage object. */ export declare class LocalStorageService { protected platformId: Object; constructor(platformId: Object); get hasStorage(): boolean; /** * Returns browser localStorage object. * Returns null if the localStorage object is not available or not accessible. */ get localStorage(): (Storage | null); get length(): number; key(index: number): (string | null); getItem(key: string): (string | null); get(key: string): (any | null); setItem(key: string, value: string): void; set(key: string, value: any): void; removeItem(key: string): void; remove(key: string): void; clear(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }