UNPKG

437 BTypeScriptView Raw
1import { Router } from "express";
2import { Probot } from "./index";
3import { Application } from "./application";
4import { ApplicationFunction } from "./types";
5/**
6 * Loads an ApplicationFunction into the current Application
7 * @param appFn - Probot application function to load
8 */
9export declare function load(app: Application | Probot, router: Router | null, appFn: ApplicationFunction | ApplicationFunction[]): Probot | Application;