import type { NextAuthResult } from "next-auth";
import type { Payload } from "payload";
import type { AuthCollectionSlug } from "../payload/plugin.js";
/**
 * Get the Auth.js instance from the payload instance
 */
export declare const getAuthjsInstance: (payload: Payload, collectionSlug?: AuthCollectionSlug) => NextAuthResult;
/**
 * Set the Auth.js instance in the payload instance
 */
export declare const setAuthjsInstance: (payload: Payload, collectionSlug: AuthCollectionSlug, authjs: NextAuthResult) => void;
