/**
 * @class
 * Create a storage in the memory by implementing storage class.
 * (Storage class reference)[https://developer.mozilla.org/en-US/docs/Web/API/Storage]
 */
declare class MemoryStorage implements Storage {
    /** @property {length}
     * Contain length of the storage
     */
    length: number;
    /** @property {_storage}
     * Empty object to store the data when cookie is disable
     */
    private _storage;
    /**
     * @method
     * @returns length of the storage object
     */
    getLength(): number;
    key(index: number): string | null;
    /**
     * @method
     * @param key a unique identifier
     * @returns data of the storage
     */
    getItem(key: string): string | null;
    /**
     * @method
     * Set the data into the store
     * @param key a unique identifier
     * @param value data that we need to set on the specific key
     */
    setItem(key: string, value: string): void;
    /**
     * @method
     * Remove data from the storage
     * @param key a unique identifier
     */
    removeItem(key: string): void;
    /**
     * @method
     * Clear the data of the storage
     */
    clear(): void;
}

export { MemoryStorage as default };
