/// import { Store } from "express-session"; import { RequestHandler } from "express"; import { IpcNetConnectOpts } from "net"; declare namespace nextAuth { interface ILinkedAccounts { [name: string]: boolean; } interface IProviders { [name: string]: { signin: string; callback: string; }; } interface NextAuthRequest extends Express.Request { session: NextAuthSession; linked: () => Promise; providers: () => Promise; } interface IInitOptions { req?: NextAuthRequest; force: boolean; } interface IClientOptions { req?: NextAuthRequest; } } declare class Client { static init( opts: nextAuth.IInitOptions ): Promise>; static csrfToken(): Promise; static linked( opts: nextAuth.IClientOptions ): Promise; static providers( opts: nextAuth.IClientOptions ): Promise; static signin( params: string | { [k: string]: string } ): Promise; static signout(): Promise; static _getLocalStore(): Promise; static _saveLocalStore(): Promise; static _removeLocalStore(): Promise; } export = Client;