import { FastifyReply, FastifyRequest } from "fastify"; /** * Factory for a `preHandler` that checks the authenticated caller's role against * a required permission key. Must run after `requireAuth` in the `preHandler` chain. */ export declare function requirePermission(permissionKey: string): (request: FastifyRequest, reply: FastifyReply) => Promise;