import type { CreateWebhookRequest, UpdateWebhookRequest, Webhook } from "../types/webhooks"; /** Client for managing Helius webhook subscriptions. */ export interface WebhookClient { /** Create a new webhook subscription. */ create(params: CreateWebhookRequest): Promise; /** Get a webhook by its ID. */ get(webhookID: string): Promise; /** List all webhooks for the current API key. */ getAll(): Promise; /** Update an existing webhook's configuration. */ update(webhookID: string, params: UpdateWebhookRequest): Promise; /** Delete a webhook. Returns `true` on success. */ delete(webhookID: string): Promise; } export declare const makeWebhookClient: (apiKey: string, userAgent?: string) => WebhookClient; //# sourceMappingURL=client.d.ts.map