import { FastifyRequest, FastifyReply } from "fastify";
/**
 * Checks all http API requests for authorized apiKey
 * uses param `?apikey=` or as header `x-api-key`
 */
export declare function authorize(request: FastifyRequest<{
    Querystring: {
        apikey?: string;
    };
}>, reply: FastifyReply): Promise<boolean>;
