import type { FastifyInstance, RouteOptions } from 'fastify'; export type Schema = Record; export declare function buildSpec(instance: FastifyInstance, spec: Schema, schemas: Record, routes: RouteOptions[]): Schema;