import * as hono7 from "hono";

//#region src/middleware/sessionAuth.d.ts

/**
 * Middleware to enforce session-based authentication.
 * Requires that a user has already been authenticated via Better Auth session.
 * Used primarily for manage routes that require an active user session.
 */
declare const sessionAuth: () => hono7.MiddlewareHandler<any, string, {}, Response>;
/**
 * Global session middleware - sets user and session in context for all routes
 * Used for all routes that require an active user session.
 */
declare const sessionContext: () => hono7.MiddlewareHandler<any, string, {}, Response>;
//#endregion
export { sessionAuth, sessionContext };