1 | import { Application, Binding, Component, Constructor, ProviderMap, Server } from '@loopback/core';
|
2 | import { RestServerConfig } from './rest.server';
|
3 | export declare class RestComponent implements Component {
|
4 | providers: ProviderMap;
|
5 | /**
|
6 | * Add built-in body parsers
|
7 | */
|
8 | bindings: Binding[];
|
9 | servers: {
|
10 | [name: string]: Constructor<Server>;
|
11 | };
|
12 | constructor(app: Application, config?: RestComponentConfig);
|
13 | }
|
14 | export type RestComponentConfig = RestServerConfig;
|