import { AppVariables } from "../types/app.js";
import * as hono6 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: () => hono6.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: () => hono6.MiddlewareHandler<{
  Variables: AppVariables;
}, string, {}, Response>;
//#endregion
export { sessionAuth, sessionContext };