import { NextResponse } from "next/server"; export interface P1AuthHandlerConfig { p1ApiKey?: string; p1BaseUrl?: string; p1SiteUrl?: string; redirectUrl?: string; prompt?: string; } export declare function createP1AuthHandler(opts: P1AuthHandlerConfig): { POST: (request: Request, { params }: { params: Promise<{ action?: string[]; }>; }) => Promise>; };