/// import express from "express"; export interface MongoDBOptions { host?: string; port?: number; user?: string; pass?: string; } export interface ErrorObject { [key: string]: string; } export interface AuthOptions { useGoogleAuth?: boolean; googleAuth?: { clientId?: string; clientSecret?: string; websiteBaseUrl?: string; }; useGithubAuth?: boolean; githubAuth?: { clientId?: string; clientSecret?: string; websiteBaseUrl?: string; scope?: string; accessToken?: string; }; jwtSecret?: string; useInternalAuth?: boolean; includeAuthUI?: boolean; masterToken?: string; } declare const useAuth: (app: express.Express, database: string, mongodbOptions?: MongoDBOptions | undefined, authOptions?: AuthOptions | undefined) => Promise; export default useAuth;