import type { FastifyRequest, FastifyReply } from 'fastify';
import type { AppConfig } from '../config.js';
export declare function requireAgentToken(config: AppConfig): (request: FastifyRequest, reply: FastifyReply) => Promise<void>;
export declare function extractBearerHeader(request: FastifyRequest): string | null;
export declare function verifyAgentToken(config: AppConfig, token: string | null): boolean;
export declare function extractBearerToken(request: FastifyRequest): string | null;
