/** * @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, FastifyRequest } from 'fastify'; import { Constructor } from './inject-dependencies.js'; export declare type DependencyScope = FastifyInstance | FastifyRequest; export declare const defaultScope: DependencyScope; export declare const dependencyScopeManager: { add(scope: DependencyScope, dependency: Constructor, instance: unknown): void; has(scope: DependencyScope, dependency: Constructor): boolean; get(scope: DependencyScope, dependency: Constructor): unknown | undefined; clear(scope: DependencyScope): void; };