/** * AuthProviders DI Providers * * Defines dependency injection providers for the AuthProviders vault system. * These providers are registered at scope initialization when AuthProviders is enabled. */ import type { Token } from '@frontmcp/di'; import { ProviderScope } from '@frontmcp/di'; import type { AuthorizationVault, AuthProvidersVaultOptions } from '@frontmcp/auth'; import { LazyCredentialLoader } from '@frontmcp/auth'; /** * Token for lazy loader (internal use) */ export declare const LAZY_CREDENTIAL_LOADER: Token; /** * Provider definition type for AuthProviders system. * Extended to include scope at top level for SDK compatibility. */ interface AuthProvidersProviderDef { provide: Token; scope: ProviderScope; name?: string; useFactory?: (...args: any[]) => any; useValue?: unknown; inject?: () => readonly Token[]; } /** * Create providers for AuthProviders vault system * * @param options - Vault configuration options * @param baseVault - Base AuthorizationVault for storage * @returns Array of provider definitions */ export declare function createAuthProvidersProviders(options: AuthProvidersVaultOptions, baseVault: AuthorizationVault): AuthProvidersProviderDef[]; /** * Check if AuthProviders should be enabled based on options */ export declare function isAuthProvidersEnabled(options?: AuthProvidersVaultOptions): boolean; export {}; //# sourceMappingURL=auth-providers.providers.d.ts.map