import { DecodedJwt, JWKS_MIN_REFRESH_MS, JWKS_TTL_MS, JwtHeader, JwtPayload, VerifyJwtOptions, base64UrlDecode, clearJwksCache, decodeJwt, isJwtShaped, verifyJwt } from "./jwt.mjs"; import { AuthResult, AuthState, BrowserRequest, HOP_BY_HOP, INTERNAL_HEADERS, NextgenMiddlewareOptions, NextgenSession, OpaqueSession, OpaqueSessionCheck, ProxiedAnswer, ProxiedRequest, ProxiedSessionCookies, ProxyUpstream, ResolveSessionOptions, ResolvedSession, SERVER_SESSION_COOKIE, SESSION_COOKIE_CACHE_CONTROL, SESSION_PROJECT_MISMATCH, SessionCookie, SessionRequest, UnauthState, checkOpaqueSessionToken, clearSessionCheckCache, filterResponseHeaders, jwtNamesProject, matchesRoutes, proxySessionCookies, requiresProjectSecret, resolveSession, serializeSessionCookie, sessionCookieName, validateOpaqueSessionToken } from "./middleware.mjs"; //#region src/index.d.ts export type ZitadelEnvironment = "development" | "preview" | "production"; export type ZitadelRuntime = { projectId: string; environment: ZitadelEnvironment; issuer?: string; }; export type ZitadelRuntimeInput = { projectId?: string; environment?: ZitadelEnvironment; issuer?: string; }; export declare class ZitadelRuntimeError extends Error { readonly code: string; constructor(code: string, message: string); } export declare function resolveZitadelRuntimeEnv(env?: Record): ZitadelRuntime; export declare function resolveZitadelRuntime(input: ZitadelRuntimeInput): ZitadelRuntime; //#endregion export { type AuthResult, type AuthState, type BrowserRequest, type DecodedJwt, HOP_BY_HOP, INTERNAL_HEADERS, JWKS_MIN_REFRESH_MS, JWKS_TTL_MS, type JwtHeader, type JwtPayload, type NextgenMiddlewareOptions, type NextgenSession, type OpaqueSession, type OpaqueSessionCheck, type ProxiedAnswer, type ProxiedRequest, type ProxiedSessionCookies, type ProxyUpstream, type ResolveSessionOptions, type ResolvedSession, SERVER_SESSION_COOKIE, SESSION_COOKIE_CACHE_CONTROL, SESSION_PROJECT_MISMATCH, type SessionCookie, type SessionRequest, type UnauthState, type VerifyJwtOptions, base64UrlDecode, checkOpaqueSessionToken, clearJwksCache, clearSessionCheckCache, decodeJwt, filterResponseHeaders, isJwtShaped, jwtNamesProject, matchesRoutes, proxySessionCookies, requiresProjectSecret, resolveSession, serializeSessionCookie, sessionCookieName, validateOpaqueSessionToken, verifyJwt }; //# sourceMappingURL=index.d.mts.map