import type { HttpPaymentStatusResponse } from "@aibtc/tx-schemas/http"; import type { CanonicalPaymentDecision } from "./x402-payment-state.js"; type PaymentLogEvent = "payment.accepted" | "payment.poll" | "payment.finalized" | "payment.retry_decision" | "payment.fallback_used"; interface PaymentLogFields { tool: string; paymentId?: string | null; status?: string | null; terminalReason?: string | null; action?: string | null; checkStatusUrl?: string | null; compatShimUsed?: boolean; } export declare function emitPaymentLog(event: PaymentLogEvent, fields: PaymentLogFields): void; export declare function emitCanonicalPaymentPollLogs(details: { tool: string; paymentId?: string | null; checkStatusUrl: string; source: "canonical_hint" | "compat_fallback"; }): boolean; export declare function emitCanonicalPaymentDecisionLogs(details: { tool: string; status: HttpPaymentStatusResponse; decision: CanonicalPaymentDecision; compatShimUsed: boolean; }): void; export {}; //# sourceMappingURL=x402-payment-logging.d.ts.map