declare const _exports: ((options: any) => (req: any, res: any, next: Function) => Promise) & { class: typeof SNSWebHook; }; export = _exports; /** * @param {Object} options * @param {Array.} options.awsAccountWhiteList List of AWS account IDs * @param {Array.} options.snsTopicWhiteList List of SNS topic ARNs * @param {Boolean} options.disableAuthentication Whether to disable authentication */ declare class SNSWebHook { /** * * @param {Object} req ExpressJS Request Object * @static * @throws Will throw error if request is not in a valid format * @description Validate the request from SNS is in the proper format */ static validateRequest(req: any): void; /** * @static * @returns {String} Returns current AWS account ID * @description Attempts to retrieve current AWS account ID */ static getCurrentAccountID(): string; constructor(options?: {}); awsAccountWhiteList: any; snsTopicWhiteList: any; disableAuthentication: any; /** * * @param {Object} req Express Request object * @param {Object} res Express Response object * @param {Function} next Express Next function * @async * @description ExpressJS middleware to help handle AWS SNS HTTP(S) requests */ middleware(req: any, res: any, next: Function): Promise; /** * * @param {Object} req Express Request Object * @async * @Throws Will throw an error if the request is not authenticated/authorized. * @description Authenticate/authorize request from SNS */ authentication(req: any): Promise; } //# sourceMappingURL=SNSWebHook.d.ts.map