import * as _backstage_plugin_auth_node from '@backstage/plugin-auth-node'; import { PassportOAuthAuthenticatorHelper, PassportProfile, OAuthAuthenticatorResult } from '@backstage/plugin-auth-node'; import * as _backstage_backend_plugin_api from '@backstage/backend-plugin-api'; /** @public */ declare const oauth2Authenticator: _backstage_plugin_auth_node.OAuthAuthenticator; /** @public */ declare const authModuleOauth2Provider: _backstage_backend_plugin_api.BackendFeature; /** * Available sign-in resolvers for the oauth2 auth provider. * * @public */ declare namespace oauth2SignInResolvers { /** * Looks up the user by matching their oauth2 username to the entity name. */ const usernameMatchingUserEntityName: _backstage_plugin_auth_node.SignInResolverFactory, { dangerouslyAllowSignInWithoutUserInCatalog?: boolean | undefined; } | undefined>; } export { authModuleOauth2Provider as default, oauth2Authenticator, oauth2SignInResolvers };