import { createRemoteJWKSet } from "jose";

//#region src/utils/oauthJwks.d.ts

/**
 * Shared JWKS singleton for verifying OAuth JWTs issued by the local
 * oauthProvider plugin. Lazy-initialized so module imports don't depend
 * on env values at load time.
 */
declare function getOAuthJwks(): ReturnType<typeof createRemoteJWKSet>;
/**
 * Issuer value that the oauthProvider plugin sets on JWTs it issues.
 * Used for defense-in-depth `iss` claim validation in `jwtVerify({ issuer })`.
 */
declare function getOAuthIssuer(): string;
//#endregion
export { getOAuthIssuer, getOAuthJwks };