export interface WebhookSubscriptionRecord { id: string; url: string; events: string[]; active: boolean; maxRetries: number; description: string | null; createdAt: string; updatedAt: string; lastDeliveryAt: string | null; failureCount: number; } export interface WebhookEventRecord { id: string; eventType: string; version: string; payloadSchema: Record; } export interface WebhookDeliveryRecord { id: string; subscriptionId: string | null; sourceEvent: string; targetUrl: string; status: "pending" | "in_flight" | "succeeded" | "failed" | "abandoned"; attemptNumber: number; responseStatus: number | null; errorMessage: string | null; createdAt: string; finishedAt: string | null; } interface WebhookMessages { title: string; description: string; add: string; empty: string; endpoint: string; descriptionLabel: string; events: string; retries: string; active: string; inactive: string; deliveries: string; create: string; save: string; cancel: string; back: string; enable: string; disable: string; rotate: string; test: string; delete: string; replay: string; secretTitle: string; secretHint: string; loadFailed: string; saveFailed: string; deleteConfirm: string; rotateConfirm: string; status: string; event: string; attempt: string; response: string; created: string; noDeliveries: string; } export declare function useWebhookMessages(): WebhookMessages; export declare function responseError(response: Response, fallback: string): Promise; export {};