import type { CreateAuthMiddlewareOptions } from '@sentropic/auth-hono/middleware'; import type { CallerAuthRequestContext } from '../ports/caller-auth.js'; import type { CallerAuthScheme, VerifiedPrincipal, VerifyToken } from '../personal-passthrough/caller-auth.js'; export type AuthHonoCallerIdentity = { readonly kind: 'session'; readonly userId: string; readonly sessionId: string; }; export interface AuthHonoVerifyTokenOptions { readonly auth: CreateAuthMiddlewareOptions; readonly resolvePrincipal: (identity: AuthHonoCallerIdentity) => Promise | VerifiedPrincipal | undefined; } export declare class AuthHonoVerifyToken implements VerifyToken { private readonly options; constructor(options: AuthHonoVerifyTokenOptions); verify(token: string, scheme: CallerAuthScheme, headers: Readonly>, context: CallerAuthRequestContext): Promise; } //# sourceMappingURL=auth-hono.d.ts.map