import type { Session } from "next-auth"; export interface AuthPageOptions { requireJira?: boolean; } /** * Require authentication for a page (server-side) * * This helper enforces authentication on server components. * If no session exists, it redirects to login with a callbackUrl. * Optionally checks for a Jira connection. * * @param pathname - The current pathname (e.g., '/onboarding', '/dashboard/tokens') * @param options - Security options (e.g., { requireJira: true }) * @returns The session object if authenticated */ export declare function requireAuthPage(pathname: string, options?: AuthPageOptions): Promise; //# sourceMappingURL=requireAuthPage.d.ts.map