UNPKG

402 BTypeScriptView Raw
1import { RequestHandler } from 'express';
2import { AuthenticationSettings } from './authentication';
3import { Application } from './declarations';
4export declare const formatter: RequestHandler;
5export type RestOptions = {
6 formatter?: RequestHandler;
7 authentication?: AuthenticationSettings;
8};
9export declare const rest: (options?: RestOptions | RequestHandler) => (app: Application) => void;