import { HttpRequestIntent, SessionIdPayload } from '@frontmcp/sdk'; export declare function encryptJson(obj: unknown): string; /** * Validates an existing session header OR creates a fresh one. * - Valid: nodeId matches local, authSig matches current Authorization * - On any mismatch/decrypt error → generate new */ export declare function parseSessionHeader(sessionHeader: string | undefined, token: string): { id: string; payload: SessionIdPayload; } | undefined; export declare function createSessionId(protocol: HttpRequestIntent, token: string): { id: string; payload: SessionIdPayload; }; export declare function generateSessionCookie(sessionId: string, ttlInMinutes?: number): string; export declare function extractSessionFromCookie(cookie?: string): string | undefined;