UNPKG

544 BTypeScriptView Raw
1import { Provider } from '@loopback/core';
2import { Middleware } from '@loopback/express';
3import { writeResultToResponse } from '../writer';
4/**
5 * Provides the function that populates the response object with
6 * the results of the operation.
7 *
8 * @returns The handler function that will populate the
9 * response with operation results.
10 */
11export declare class SendProvider {
12 static value(): typeof writeResultToResponse;
13}
14export declare class SendResponseMiddlewareProvider implements Provider<Middleware> {
15 value(): Middleware;
16}