export declare class CacheService {
    /**
     * Retrieve an item from cache
     */
    getItem<T>(key: string, sessionOnly?: boolean): T | null;
    /**
     * Retrieves all keys from cache
     */
    keys(sessionOnly?: boolean): Array<string>;
    /**
     * Removes an item from the cache
     */
    removeItem(key: string, sessionOnly?: boolean): void;
    /**
     * Persists an item to cache
     */
    setItem(key: string, value: object, sessionOnly?: boolean): void;
    /**Returns the local or session storage to use for backing the given cache request */
    private getStorage;
}
