import type { RequestHandler } from '@sveltejs/kit'; import type { AuthDeps } from '../deps.js'; /** * Explicit refresh endpoint. The handle hook already rotates transparently * on regular requests; this handler exists for clients that want to force * a rotation (e.g. before a long-running operation) or that disable the * handle-hook auto-refresh and manage the cycle themselves. * * Returns `401` whenever the refresh token is missing, expired, revoked, * or reused. On success the new access- and refresh-cookies are set and * the sanitized user is returned. */ export declare function createRefreshHandler(deps: AuthDeps): { POST: RequestHandler; };