import { Session } from './session-protocol'; export declare class SessionImpl implements Session { /** From node:crypto: a session id must be unguessable on every runtime (Node.js 18 has no global `crypto`). */ readonly id: string; isNew: boolean; expire: number; maxAge: number; /** The serialized values of a restored session, to tell whether it changed. */ protected _snapshot?: string; /** `expire` and `maxAge` of a new session as created. */ protected _created?: { id: string; expire: number; maxAge: number; }; /** * Every request without a session gets a new one, so a new session is cheap: no serialization, and * `changed` compares its few values instead of JSON. A restored session is serialized once to compare. */ constructor(sessionOptions: any, obj?: any); protected serialize(): string; toJSON(): any; /** Whether the serialized session differs from the one created or restored. */ get changed(): boolean; } //# sourceMappingURL=session.d.ts.map