import { Params, ServiceMethods } from '@feathersjs/feathers'; import type { Application } from '../../declarations'; type WebhookBody = Record; type WebhookHeaders = Record; type BasePayload = { body: WebhookBody; headers: WebhookHeaders; }; export type WebhookServiceMethods = Pick, 'create'>; declare class WebhookService implements WebhookServiceMethods { app: Application; options: any; constructor(options: any, app: Application); private publicNames; create(data: BasePayload, params?: Params): Promise; } export declare const webhook: (app: Application) => void; declare module '../../declarations' { interface ServiceTypes { ['/webhook/:agentid/:plugin']: WebhookService; } } export {};