1 | import type { ApplicationFunction } from "./types.js";
|
2 | import { Logger, ProbotOctokit } from "./index.js";
|
3 | import { Server } from "./server/server.js";
|
4 | type AdditionalOptions = {
|
5 | env?: NodeJS.ProcessEnv;
|
6 | Octokit?: typeof ProbotOctokit;
|
7 | log?: Logger;
|
8 | };
|
9 | /**
|
10 | *
|
11 | * @param appFnOrArgv set to either a probot application function: `(app) => { ... }` or to process.argv
|
12 | */
|
13 | export declare function run(appFnOrArgv: ApplicationFunction | string[], additionalOptions?: AdditionalOptions): Promise<Server>;
|
14 | export {};
|