import { EventAttributes, EventSubscriber, EventTrackingOptions, FunnelStatus, OutcomeStatus } from "autotel/event-subscriber"; //#region src/webhook.d.ts interface WebhookConfig { url: string; headers?: Record; enabled?: boolean; maxRetries?: number; method?: 'POST' | 'PUT'; timeoutMs?: number; retryDelayMs?: number; } declare class WebhookSubscriber implements EventSubscriber { readonly name = "WebhookSubscriber"; readonly version = "1.1.0"; private readonly config; private enabled; private readonly pendingRequests; private readonly httpClient; constructor(config: WebhookConfig); private send; trackEvent(name: string, attributes?: EventAttributes, options?: EventTrackingOptions): Promise; trackFunnelStep(funnelName: string, step: FunnelStatus, attributes?: EventAttributes, options?: EventTrackingOptions): Promise; trackOutcome(operationName: string, outcome: OutcomeStatus, attributes?: EventAttributes, options?: EventTrackingOptions): Promise; trackValue(name: string, value: number, attributes?: EventAttributes, options?: EventTrackingOptions): Promise; private trackRequest; shutdown(): Promise; } //#endregion export { WebhookConfig, WebhookSubscriber }; //# sourceMappingURL=webhook.d.ts.map