/**
 * @adonisjs/session
 *
 * (c) AdonisJS
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
import type { SessionData, SessionStoreContract } from '../types.js';
/**
 * Memory store is meant to be used for writing tests.
 */
export declare class MemoryStore implements SessionStoreContract {
    static sessions: Map<string, SessionData>;
    /**
     * Read session id value from the memory
     */
    read(sessionId: string): SessionData | null;
    /**
     * Save in memory value for a given session id
     */
    write(sessionId: string, values: SessionData): void;
    /**
     * Cleanup for a single session
     */
    destroy(sessionId: string): void;
    touch(): void;
}
