UNPKG

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