export type JobWebhookServer = { port: number; url: string; close: () => Promise; }; export type JobWebhookRequest = { method?: string | undefined; url?: string | undefined; body?: unknown; headers?: Record; }; export type JobWebhookResponse = { statusCode: number; headers: Record; body?: string | undefined; writeHead(status: number, headers?: Record): void; end(body?: string | undefined): void; }; export declare function createJobWebhookHandler(options?: { expectedSecret?: string; }): (req: JobWebhookRequest, res: JobWebhookResponse) => Promise; export declare function startJobWebhookServer(port?: number): Promise; //# sourceMappingURL=webhook-server.d.ts.map