/** * Error thrown when attempting to mutate a readonly session store. * This occurs when trying to write to a session that was initiated in readonly mode. * * @example * // This will throw E_SESSION_NOT_MUTABLE * await session.initiate(true) // readonly mode * session.put('key', 'value') // Throws error */ export declare const E_SESSION_NOT_MUTABLE: new (args?: any, options?: ErrorOptions) => import("@adonisjs/core/exceptions").Exception; /** * Error thrown when attempting to use session before it's been initiated. * This usually means the session middleware hasn't been registered or called. * * @example * // This will throw E_SESSION_NOT_READY * const session = new Session(config, storeFactory, emitter, ctx) * session.put('key', 'value') // Throws error - need to call initiate first * * // Correct usage: * await session.initiate(false) * session.put('key', 'value') // Works fine */ export declare const E_SESSION_NOT_READY: new (args?: any, options?: ErrorOptions) => import("@adonisjs/core/exceptions").Exception; /** * Error thrown when attempting to use tagging features with a store that doesn't support it. * Only Memory, Redis, and Database stores support session tagging. * * @example * // This will throw E_SESSION_TAGGING_NOT_SUPPORTED when using cookie store * const sessions = await sessionCollection.tagged(userId) */ export declare const E_SESSION_TAGGING_NOT_SUPPORTED: new (args?: any, options?: ErrorOptions) => import("@adonisjs/core/exceptions").Exception;