export * from './service.ts'; import { type CreateWebhookParams, type UpdateWebhookParams, type CreateWebhookDestinationParams, type WebhookCreateResult, type WebhookListResult, type WebhookGetResult, type UpdateWebhookResult, type CreateDestinationResult, type ListDestinationsResult, type WebhookReceiptListResult, type WebhookDeliveryListResult } from './service.ts'; import type { WebhookOrgAnalytics, WebhookReceipt } from './types.ts'; import { type Logger } from '@agentuity/client'; import { z } from 'zod'; export declare const WebhookClientOptionsSchema: z.ZodObject<{ apiKey: z.ZodOptional; url: z.ZodOptional; orgId: z.ZodOptional; logger: z.ZodOptional>; }, z.core.$strip>; export type WebhookClientOptions = z.infer; export declare class WebhookClient { #private; constructor(options?: WebhookClientOptions); create(params: CreateWebhookParams): Promise; list(params?: { limit?: number; offset?: number; }): Promise; get(webhookId: string): Promise; update(webhookId: string, params: UpdateWebhookParams): Promise; delete(webhookId: string): Promise; createDestination(webhookId: string, params: CreateWebhookDestinationParams): Promise; listDestinations(webhookId: string): Promise; deleteDestination(webhookId: string, destinationId: string): Promise; listReceipts(webhookId: string, params?: { limit?: number; offset?: number; }): Promise; getReceipt(webhookId: string, receiptId: string): Promise; listDeliveries(webhookId: string, params?: { limit?: number; offset?: number; }): Promise; retryDelivery(webhookId: string, deliveryId: string): Promise; getOrgAnalytics(options?: { start?: string; end?: string; granularity?: string; }): Promise; getOrgTimeSeries(options?: { start?: string; end?: string; granularity?: string; }): Promise<{ period: { start: string; end: string; granularity?: string; }; series: Array<{ timestamp: string; received: number; delivered: number; failed: number; }>; }>; } //# sourceMappingURL=index.d.ts.map