import { Logger } from "pino"; import { WebhookEvent } from "@octokit/webhooks"; import { ProbotOctokit } from "./octokit/probot-octokit"; import { ApplicationFunction, DeprecatedLogger, Options, ProbotWebhooks } from "./types"; export declare type Constructor = new (...args: any[]) => T; export declare class Probot { static version: string; static defaults>(this: S, defaults: Options): { new (...args: any[]): { [x: string]: any; }; } & S; webhooks: ProbotWebhooks; log: DeprecatedLogger; version: String; on: ProbotWebhooks["on"]; onAny: ProbotWebhooks["onAny"]; onError: ProbotWebhooks["onError"]; auth: (installationId?: number, log?: Logger) => Promise>; private state; constructor(options?: Options); receive(event: WebhookEvent): Promise; load(appFn: ApplicationFunction | ApplicationFunction[]): Promise; }