1 | import * as express from "express";
|
2 | import { CallableContext, FunctionsErrorCode, HttpsError, Request } from "../../common/providers/https";
|
3 | import { HttpsFunction, Runnable } from "../cloud-functions";
|
4 | export { Request, CallableContext, FunctionsErrorCode, HttpsError };
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 | export declare function onRequest(handler: (req: Request, resp: express.Response) => void | Promise<void>): HttpsFunction;
|
11 |
|
12 |
|
13 |
|
14 |
|
15 | export declare function onCall(handler: (data: any, context: CallableContext) => any | Promise<any>): HttpsFunction & Runnable<any>;
|