import type { FastifyInstance, FastifyReply } from 'fastify';
export interface NginxRouteContext {
    fastify: FastifyInstance;
    nginx: FastifyInstance['nginx'];
    normalizeFsPath: (filePath: string) => string;
    ensureManageableConfigFile: (rawPath?: string) => Promise<string>;
}
export declare function createNginxRouteContext(fastify: FastifyInstance): NginxRouteContext;
export declare function sendBadRequest(reply: FastifyReply, error: unknown): void;
