import { Strategy as BaseStrategy } from 'passport-strategy'; import * as saml from './saml'; import * as express from "express"; import { AuthenticateOptions, VerifyCallback, VerifyCallbackWithRequest } from './types'; declare class Strategy extends BaseStrategy { _saml: saml.SAML; _verify: VerifyCallback | VerifyCallbackWithRequest; name: string; fail: (info?: any) => void; redirect: (url: string) => void; pass: () => void; _passReqToCallback: boolean; error: (err: Error) => void; success: (user: saml.Profile, info: any) => void; _authnRequestBinding: string; constructor(verify: VerifyCallback | VerifyCallbackWithRequest); constructor(options: saml.SAMLOptions, verify: VerifyCallback | VerifyCallbackWithRequest); logout(req: saml.RequestWithUser, callback: (err: Error | null) => null, options: { _saml: saml.SAML; }): void; generateServiceProviderMetadata(decryptionCert: string | null, signingCert: string, options: { _saml: saml.SAML; }): string; authenticate(req: express.Request, options: AuthenticateOptions): void; } export = Strategy;