import { NextMiddleware, NextRequest } from 'next/server'; import { AuthkitMiddlewareOptions, AuthkitOptions, AuthkitResponse } from './interfaces.js'; export declare function authkitProxy({ debug, middlewareAuth, redirectUri, signUpPaths, eagerAuth, refreshBufferSeconds, }?: AuthkitMiddlewareOptions): NextMiddleware; /** @deprecated Use `authkitProxy` instead. */ export declare const authkitMiddleware: typeof authkitProxy; export declare function authkit(request: NextRequest, options?: AuthkitOptions): Promise;