/**
 * Bridge between auth providers and NeuroLink's server middleware.
 * Converts an auth provider's authenticateToken() into the validate
 * callback expected by the existing createAuthMiddleware.
 */
import type { MastraAuthProvider } from "../types/index.js";
/**
 * Create a validate function for server auth middleware from an auth provider.
 */
export declare function createAuthValidatorFromProvider(provider: MastraAuthProvider): (token: string, ctx: unknown) => Promise<{
    id: string;
    email?: string;
    roles?: string[];
} | null>;
