import { type CollectionConfig, type CollectionRefreshHook } from "payload";
import type { AuthjsPluginConfig } from "../../plugin";
/**
 * Add refresh hook to override the refresh endpoint to refresh the session with authjs
 *
 * @see https://payloadcms.com/docs/hooks/collections#refresh
 * @see https://github.com/payloadcms/payload/blob/main/packages/payload/src/auth/operations/refresh.ts
 */
export declare const refreshHook: (collection: CollectionConfig, pluginOptions: AuthjsPluginConfig) => CollectionRefreshHook;
