/** * @license * Copyright Andrey Chalkin (https://github.com/L2jLiga). All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/L2jLiga/fastify-decorators/blob/master/LICENSE */ import { FastifyInstance, FastifyPluginAsync, FastifyPluginCallback, FastifyPluginOptions } from 'fastify'; export declare type Plugins = Array | FastifyPluginCallback | [ /*plugin*/ FastifyPluginAsync, /*options*/ FastifyPluginOptions ] | [ /*plugin*/ FastifyPluginCallback, /*options*/ FastifyPluginOptions ]>; export declare function loadPlugins(instance: FastifyInstance, plugins?: Plugins): void;