import type { AuthagonalBffOptions } from './options.js'; /** * Next.js App Router handlers for the Authagonal BFF. Mount at `app/bff/[...bff]/route.ts`: * * ```ts * import { createBffRoute } from '@authagonal/bff/next'; * export const { GET, POST } = createBffRoute({ authority, clientId, clientSecret, cookieSecret }); * ``` * * Run this route on the Node.js runtime (it uses a server-side session store + client secret). */ export declare function createBffRoute(options: AuthagonalBffOptions): { GET: (req: Request) => Promise; POST: (req: Request) => Promise; };