/**
 * @adonisjs/session
 *
 * (c) Harminder Virk <virk@adonisjs.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
/// <reference path="../../adonis-typings/index.d.ts" />
import { SessionDriverContract } from '@ioc:Adonis/Addons/Session';
/**
 * Memory driver is meant to be used for writing tests.
 */
export declare class MemoryDriver implements SessionDriverContract {
    static sessions: Map<string, Object>;
    /**
     * Read session id value from the memory
     */
    read(sessionId: string): {
        [key: string]: any;
    } | null;
    /**
     * Save in memory value for a given session id
     */
    write(sessionId: string, values: {
        [key: string]: any;
    }): void;
    /**
     * Cleanup for a single session
     */
    destroy(sessionId: string): void;
    touch(): void;
}
