// @ts-expect-error Optional dependency
import type { FastifyInstance } from "fastify";
/**
 * Calling this function will setup rate limiting and user blocking for the provided Fastify app by adding a onRequest hook.
 * Attacks will still be blocked by Zen if you do not call this function.
 * Execute this function as early as possible in your Fastify app, but after the hook that sets the user.
 */
export declare function addFastifyHook(app: FastifyInstance): void;
