import { AuthContext } from "@harvestr-api/common"; export declare enum githubWebhookEvents { ISSUES = "issues", PROJECT_COLUMN = "project_column" } export declare const githubWebhookService: { getRepositoryWebhooks(data: { owner_name_or_userlogin: string; repository_name: string; }, ctx: AuthContext, gotTokenAlready?: string | undefined): Promise; registerWebhook(ownerName: string | null, repositoryName: string, ctx: AuthContext): Promise; registerAllWebhooks(where: { project_id: string; }): Promise; unregisterAllWebhooks(ctx: AuthContext, gotTokenAlready?: string | undefined): Promise; unregisterWebhookOnRepo(where: { owner_or_user_login: string; repoName: string; webhookId: number; }, ctx: AuthContext, gotTokenAlready?: string | undefined): Promise; isWebhookSignatureValid(event: any): boolean; isWebhookAlreadyBound(owner_name_or_userlogin: string, repository_name: string, url: string, ctx: AuthContext): Promise; };