UNPKG

trifid-core

Version:
18 lines 982 B
import type { EventEmitter } from 'node:events'; import type { FastifyInstance, FastifyReply, FastifyRequest } from 'fastify'; import type { Logger } from 'pino'; import type { ConfigRecord, TemplateEngineInstance } from '../../types/index.ts'; import type { StandardizedPlugin } from './standardize.ts'; /** * * @param server Fastify server instance. * @param globals Global settings. * @param plugins Plugins to apply. * @param logger Logger instance. * @param templateEngine Template engine instance. * @param instanceHostname Instance hostname. * @param trifidEvents Trifid events emitter. */ declare const apply: (server: FastifyInstance, globals: ConfigRecord, plugins: Array<[string, StandardizedPlugin]>, logger: Logger, templateEngine: TemplateEngineInstance, instanceHostname: string, trifidEvents: EventEmitter, notFound: (request: FastifyRequest, reply: FastifyReply) => Promise<void>) => Promise<void>; export default apply; //# sourceMappingURL=apply.d.ts.map