import { type CanActivate, type ExecutionContext } from '@nestjs/common'; import { ModuleRef } from '@nestjs/core'; import { type ResolvedElicitationOptions } from '../interfaces/elicitation-options.interface'; /** * Single Nest guard that runs every user-supplied guard from * `ElicitationModuleOptions.guards` in order. Lets the controller declare * `@UseGuards(ElicitationGuardComposite)` once, while the actual list of * guards stays runtime-configurable via `forRoot`. * * User guards are registered as providers in `McpElicitationModule.forRoot`, * so `ModuleRef.get` resolves them with full DI. Returns `true` when no * guards are configured (open by default — apply your own auth at the app * level if you need it locked down). */ export declare class ElicitationGuardComposite implements CanActivate { private readonly opts; private readonly moduleRef; constructor(opts: ResolvedElicitationOptions, moduleRef: ModuleRef); canActivate(ctx: ExecutionContext): Promise; private resolveGuard; } //# sourceMappingURL=elicitation-guard.composite.d.ts.map