/**
 * This class is named "Browser" and not "Local" on purpose in case
 * we decide to use something else than local storage.
 */
export declare class BrowserStorage {
    protected group?: string;
    protected storage: Storage;
    constructor(group?: string);
    /**
     * Sets the group under which to save a value.
     *
     * E.g. as a group of "global" and a key of "thing", the location
     * in storage would be "global.thing"
     *
     * @param group Unique key to group under
     */
    setGroup(group: string): void;
    /**
     * @returns Currently set group name
     */
    getGroup(): string | undefined;
    /**
     * Returns a value stored in storage
     *
     * @param key The key under the group "group.key"
     * @returns String value saved under "group.key"
     */
    getItem(key: string): string | null;
    /**
     * Saves a new value in storage
     *
     * @param key The key under the group "group.key"
     * @param value String value to save
     */
    setItem(key: string, value: string): void;
    /**
     * Removes a stored value
     *
     * @param key The key under the group "group.key"
     */
    removeItem(key: string): void;
}
declare const _default: BrowserStorage;
export default _default;
//# sourceMappingURL=browserStorage.d.ts.map