UNPKG

reiso

Version:
7 lines (6 loc) 596 B
import * as express from 'express'; import { WebHookInterface } from '../Modules/ServerHook'; export declare function checkHooks(req: express.Request, res: express.Response, next: express.NextFunction, context: any): Promise<void>; export declare function checkAuth(webHook: WebHookInterface, req: express.Request, res: express.Response, context: any): Promise<boolean>; export declare function prepareLanguage(context: any): void; export declare function hook(webHook: WebHookInterface, req: express.Request, res: express.Response, next: express.NextFunction, language?: string): Promise<void>;