import { type Provider } from "next-auth/providers/index"; import { type NextApiRequest, type NextApiResponse } from "next"; /** * Load all custom SSO providers from the database. To be used within `providers` in NextAuth backend configuration. * * @returns {Promise} - A list of all custom SSO providers. */ export declare function loadSsoProviders(): Promise; /** * @returns `true` if any custom SSO provider is configured in the database. */ export declare function isAnySsoConfigured(): Promise; /** * Get the custom SSO providerId for a domain. To be used with NextAuth's `signIn(providerId)`. * * @param domain - The domain to check for a custom SSO provider, e.g. "example.com". * @returns `providerId` or null if none is configured or EE is not available. */ export declare function getSsoAuthProviderIdForDomain(domain: string): Promise; export declare function createNewSsoConfigHandler(req: NextApiRequest, res: NextApiResponse): Promise; //# sourceMappingURL=index.d.ts.map