1
+ declare module "@probot/adapter-azure-functions" {
2
+ import ProbotExports = require( "probot" ) ;
3
+
4
+ /**
5
+ * @param {import('probot').ApplicationFunction } app
6
+ * @param { { probot: import('probot').Probot } } options
7
+ */
8
+ function createAzureFunction ( app : ProbotExports . ApplicationFunction , { probot } : {
9
+ probot : ProbotExports . Probot ;
10
+ } ) : any ;
11
+
12
+ /**
13
+ * @param {import('probot').ApplicationFunction } app
14
+ * @param { { probot: import('probot').Probot } } options
15
+ */
16
+ function createAzureFunctionV4 ( app : ProbotExports . ApplicationFunction , { probot } : {
17
+ probot : ProbotExports . Probot ;
18
+ } ) : any ;
19
+
20
+ const _exports : {
21
+ createAzureFunction : typeof createAzureFunction ;
22
+ createAzureFunctionV4 : typeof createAzureFunctionV4 ;
23
+ Context : typeof ProbotExports . Context ;
24
+ ProbotOctokit : typeof import ( "@octokit/core" ) . Octokit & import ( "@octokit/core/dist-types/types" ) . Constructor < {
25
+ retry : {
26
+ retryRequest : ( error : import ( "@octokit/request-error" ) . RequestError , retries : number , retryAfter : number ) => import ( "@octokit/request-error" ) . RequestError ;
27
+ } ;
28
+ } & {
29
+ paginate : import ( "@octokit/plugin-paginate-rest" ) . PaginateInterface ;
30
+ } & 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 > ;
31
+ run: typeof ProbotExports . run ;
32
+ Probot: typeof ProbotExports . Probot ;
33
+ Server: typeof ProbotExports . Server ;
34
+ createNodeMiddleware: typeof ProbotExports . createNodeMiddleware ;
35
+ createProbot: typeof ProbotExports . createProbot ;
36
+ } ;
37
+
38
+ export = _exports ;
39
+ }
40
+ //# sourceMappingURL=index.d.ts.map
0 commit comments