-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathindex.d.ts
40 lines (36 loc) · 1.79 KB
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
declare module "@probot/adapter-azure-functions" {
import ProbotExports = require("probot");
/**
* @param {import('probot').ApplicationFunction} app
* @param { { probot: import('probot').Probot } } options
*/
function createAzureFunction(app: ProbotExports.ApplicationFunction, { probot }: {
probot: ProbotExports.Probot;
}): any;
/**
* @param {import('probot').ApplicationFunction} app
* @param { { probot: import('probot').Probot } } options
*/
function createAzureFunctionV4(app: ProbotExports.ApplicationFunction, { probot }: {
probot: ProbotExports.Probot;
}): any;
const _exports: {
createAzureFunction: typeof createAzureFunction;
createAzureFunctionV4: typeof createAzureFunctionV4;
Context: typeof ProbotExports.Context;
ProbotOctokit: typeof import("@octokit/core").Octokit & import("@octokit/core/dist-types/types").Constructor<{
retry: {
retryRequest: (error: import("@octokit/request-error").RequestError, retries: number, retryAfter: number) => import("@octokit/request-error").RequestError;
};
} & {
paginate: import("@octokit/plugin-paginate-rest").PaginateInterface;
} & import("@octokit/plugin-rest-endpoint-methods/dist-types/generated/method-types").RestEndpointMethods & import("@octokit/plugin-rest-endpoint-methods/dist-types/types").Api & import("@probot/octokit-plugin-config/dist-types/types").API>;
run: typeof ProbotExports.run;
Probot: typeof ProbotExports.Probot;
Server: typeof ProbotExports.Server;
createNodeMiddleware: typeof ProbotExports.createNodeMiddleware;
createProbot: typeof ProbotExports.createProbot;
};
export = _exports;
}
//# sourceMappingURL=index.d.ts.map