/// <reference path="../../adonis-typings/session.d.ts" />
import { HttpContextContract } from '@ioc:Adonis/Core/HttpContext';
import { SessionDriverContract, SessionConfig } from '@ioc:Adonis/Addons/Session';
/**
 * Cookie driver utilizes the encrypted HTTP cookies to write session value.
 */
export declare class CookieDriver implements SessionDriverContract {
    private config;
    private ctx;
    constructor(config: SessionConfig, ctx: HttpContextContract);
    /**
     * Read session value from the cookie
     */
    read(sessionId: string): {
        [key: string]: any;
    } | null;
    /**
     * Write session values to the cookie
     */
    write(sessionId: string, values: {
        [key: string]: any;
    }): void;
    /**
     * Removes the session cookie
     */
    destroy(sessionId: string): void;
    /**
     * Updates the cookie with existing cookie values
     */
    touch(sessionId: string): void;
}
