import type { IncomingMessage, ServerResponse } from "node:http"; import type { GithubWebhookOptions } from "./types.js"; export declare const GITHUB_WEBHOOK_PATH = "/github/webhook"; export declare function verifyWebhookSignature(secret: string, body: Buffer, signatureHeader: string | undefined): boolean; export type GithubWebhookHandler = (req: IncomingMessage, res: ServerResponse, url: URL) => Promise; export declare function createGithubWebhookHandler(options: GithubWebhookOptions): GithubWebhookHandler; //# sourceMappingURL=webhook.d.ts.map