import type { AuthAction, AuthOptions } from "./types"; import type { Cookie } from "./lib/cookie"; export interface RequestInternal { /** @default "http://localhost:3000" */ origin?: string; method?: string; cookies?: Partial>; headers?: Record; query?: Record; body?: Record; action: AuthAction; providerId?: string; error?: string; } export interface NextAuthHeader { key: string; value: string; } export interface ResponseInternal | any[] = any> { status?: number; headers?: NextAuthHeader[]; body?: Body; redirect?: string; cookies?: Cookie[]; } export interface NextAuthHandlerParams { req: Request | RequestInternal; options: AuthOptions; } export declare function AuthHandler | any[]>(params: NextAuthHandlerParams): Promise>; //# sourceMappingURL=index.d.ts.map