import { UserInstance } from "../instance/UserInstance";
import { InstanceStorage } from "./InstanceStorage";
export declare class UserInstanceStorage implements InstanceStorage {
    private static readonly INSTANCE_PREFIX;
    private storage;
    private appKey;
    private userId;
    constructor(storage: Storage, appKey: string, userId: string);
    /**
     * Makes a prefix to localStorage item in order to distinguish various instances
     * @param key - instance identifier that will be
     */
    private prefix;
    /**
     * Inserts record to localStorage
     * @param instance - representation of Ocra instance
     */
    set(instance: UserInstance): void;
    /**
     * Takes particular instance with given id
     * @param instanceId - id of instance to obtain from localStorage
     */
    get(): UserInstance | undefined;
    remove(): void;
    private getUserInstance;
}
