import type { Action } from 'integreat'; import type { JwtAuthentication, JwtOptions } from './types.js'; export default function validate(_authentication: JwtAuthentication | null, options: JwtOptions | null, action: Action | null): Promise<{ status: string; error: string; reason: string | undefined; } | { status: string; access: { ident: { withToken: string | string[]; }; }; }>;