/** * Session cookie utilities. * Handles setting, parsing, and clearing of session cookies. * * @internal This module is not exported from the main package. */ /** * Cookie name for session token storage. */ export declare const SESSION_COOKIE_NAME = "mastra_cloud_session"; /** * Create a Set-Cookie header value for storing session token. * * @param token - The session token * @param isProduction - Whether to add Secure flag (required for HTTPS) * @returns Set-Cookie header value */ export declare function setSessionCookie(token: string, isProduction: boolean): string; /** * Parse the session token from a Cookie header. * * @param cookieHeader - The Cookie header value (may be null) * @returns Session token or null if not present */ export declare function parseSessionCookie(cookieHeader: string | null): string | null; /** * Create a Set-Cookie header value to clear the session cookie. * * @returns Set-Cookie header value that expires the cookie */ export declare function clearSessionCookie(): string; //# sourceMappingURL=cookie.d.ts.map