import type { Transport } from '@23blocks/contracts'; import type { TransactionWebhookRequest, TransactionWebhookResponse } from '../types/wallet.js'; export interface WebhooksService { /** * Process an incoming transaction webhook from an external payment provider. * This endpoint is used to record transactions initiated by external systems. * * @param companyUrlId - The company URL identifier * @param walletCode - The wallet code to credit/debit * @param data - Transaction webhook payload * @returns TransactionWebhookResponse with `success`, `transactionUniqueId`, and `message`. */ processTransaction(companyUrlId: string, walletCode: string, data: TransactionWebhookRequest): Promise; } export declare function createWebhooksService(transport: Transport, _config: { apiKey: string; }): WebhooksService; //# sourceMappingURL=webhooks.service.d.ts.map