export interface GhostPayPartnerConfig { /** ArisPay API base URL. Defaults to https://api.arispay.app */ apiUrl?: string; /** Merchant API key issued during partner onboarding (`mp_live_*`). */ apiKey: string; /** Webhook signing secret configured for the merchant. Required only for verifyWebhook. */ webhookSecret?: string; } export interface GhostPaymentLink { linkId: string; token: string; amountCents: number; currency: string; memo: string | null; reference: string | null; status: string; expiresAt: string | null; url: string; } export interface GhostWebhookPayload { type: "ghost.payment.succeeded" | "ghost.payment.failed"; data: { paymentId: string; merchantReference: string; amountCents: number; currency: string; feeCents: number; settlementProvider: string; settlementTxRef: string | null; reference: string | null; settledAt: string | null; }; } export declare class GhostPayPartner { private apiUrl; private apiKey; private webhookSecret?; constructor(config: GhostPayPartnerConfig); private request; /** * Create a Ghost Pay payment link for the configured merchant. */ createPaymentLink(input: { amountCents: number; currency?: string; memo?: string; reference?: string; expiresInMinutes?: number; }): Promise; /** * Verify the HMAC-SHA256 signature on a Ghost Pay webhook. * * Throws if the signature is missing, malformed, or does not match the * configured webhook secret. */ verifyWebhook(signatureHeader: string | null | undefined, timestampHeader: string | null | undefined, rawBody: string): GhostWebhookPayload; } //# sourceMappingURL=ghost-partner.d.ts.map