import { B as BlindpayApiResponse } from '../../index.d-D-hL-9i-.mjs'; import { I as InternalApiClient } from '../../api-client-CGaiOakA.mjs'; type WebhookEvents = "bankAccount.new" | "payout.new" | "payout.update" | "payout.complete" | "payout.partnerFee" | "blockchainWallet.new" | "payin.new" | "payin.update" | "payin.complete" | "payin.partnerFee" | "tos.accept" | "limitIncrease.new" | "limitIncrease.update" | "virtualAccount.new" | "virtualAccount.complete" | "transfer.new" | "transfer.update" | "transfer.complete" | "wallet.new" | "wallet.inbound" | "customer.new" | "customer.update" | "customer.delete"; type CreateWebhookEndpointInput = { url: string; events: WebhookEvents[]; }; type CreateWebhookEndpointResponse = { id: string; }; type DeleteWebhookEndpointInput = string; type ListWebhookEndpointsResponse = Array<{ id: string; url: string; events: WebhookEvents[]; last_event_at: string; instance_id: string; created_at: string; updated_at: string; }>; type GetWebhookEndpointSecretInput = string; type GetWebhookEndpointSecretResponse = { key: string; }; type GetPortalAccessUrlResponse = { url: string; }; declare function createWebhookEndpointsResource(instanceId: string, client: InternalApiClient): { list(): Promise>; create({ ...data }: CreateWebhookEndpointInput): Promise>; delete(id: DeleteWebhookEndpointInput): Promise>; getSecret(id: GetWebhookEndpointSecretInput): Promise>; getPortalAccessUrl(): Promise>; }; export { type CreateWebhookEndpointInput, type CreateWebhookEndpointResponse, type DeleteWebhookEndpointInput, type GetPortalAccessUrlResponse, type GetWebhookEndpointSecretInput, type GetWebhookEndpointSecretResponse, type ListWebhookEndpointsResponse, type WebhookEvents, createWebhookEndpointsResource };