import type { FastifyInstance } from 'fastify';
import type { HookHandler, RouteHandler } from '../../../../layers/application';
import type { ApiServerPort, ProxyConfig } from '../port';
export declare class FastifyApiAdapter implements ApiServerPort {
    private readonly server;
    constructor(server: FastifyInstance);
    registerRoute(handler: RouteHandler): void;
    registerHook(handler: HookHandler): void;
    registerProxy(config: ProxyConfig): void;
    listen(port: number): Promise<void>;
    getRawServer(): unknown;
}
//# sourceMappingURL=fastify.d.ts.map