export declare const CUSTOMER_MEMBERSHIP_CANCELLATION_RESULT_KINDS: readonly ["already_cancelled", "not_stripe_managed", "stripe_not_connected", "cancellation_scheduled"];
export type CustomerMembershipCancellationResultKind = (typeof CUSTOMER_MEMBERSHIP_CANCELLATION_RESULT_KINDS)[number];
export declare const CANONICAL_REFUND_CONFLICT_CODES: readonly ["already_refunded", "idempotency_amount_mismatch", "idempotency_method_mismatch", "refund_in_progress"];
export type CanonicalRefundConflictCode = (typeof CANONICAL_REFUND_CONFLICT_CODES)[number];
export declare const CANONICAL_REFUND_PLANNER_ERROR_CODES: readonly ["already_refunded", "idempotency_amount_mismatch", "idempotency_method_mismatch", "refund_in_progress", "amount_exceeds_remaining", "pass_revoke_requires_full_refund", "refund_failed"];
export type CanonicalRefundPlannerErrorCode = (typeof CANONICAL_REFUND_PLANNER_ERROR_CODES)[number];
export declare const CANONICAL_ADMIN_REFUND_FAILURE_CODES: readonly ["already_refunded", "idempotency_amount_mismatch", "idempotency_method_mismatch", "refund_in_progress", "amount_exceeds_remaining", "pass_revoke_requires_full_refund", "refund_failed", "payment_intent_not_found", "stripe_error", "stale_pending_missing_context", "non_refundable_deposit_remaining"];
export type CanonicalAdminRefundFailureCode = (typeof CANONICAL_ADMIN_REFUND_FAILURE_CODES)[number];
export type CustomerMembershipPaymentRefundConflictCode = CanonicalRefundConflictCode;
export declare const CUSTOMER_MEMBERSHIP_PAYMENT_REFUND_INVALID_CODES: readonly ["stripe_not_connected", "credit_refunds_disabled", "not_refundable", "amount_exceeds_remaining"];
export type CustomerMembershipPaymentRefundInvalidCode = (typeof CUSTOMER_MEMBERSHIP_PAYMENT_REFUND_INVALID_CODES)[number];
export declare const CUSTOMER_MEMBERSHIP_PAYMENT_REFUND_FAILED_CODES: readonly ["not_found", "stripe_not_connected", "credit_refunds_disabled", "invoice_not_found", "invoice_lookup_failed", "already_refunded", "idempotency_amount_mismatch", "idempotency_method_mismatch", "refund_in_progress", "amount_exceeds_remaining", "pass_revoke_requires_full_refund", "refund_failed", "payment_intent_not_found", "stripe_error", "stale_pending_missing_context"];
export type CustomerMembershipPaymentRefundFailedCode = (typeof CUSTOMER_MEMBERSHIP_PAYMENT_REFUND_FAILED_CODES)[number];
export declare const CUSTOMER_MEMBERSHIP_PAYMENT_REFUND_SKIPPED_CODES: readonly ["not_refundable"];
export type CustomerMembershipPaymentRefundSkippedCode = (typeof CUSTOMER_MEMBERSHIP_PAYMENT_REFUND_SKIPPED_CODES)[number];
export type CustomerMembershipPaymentRefundErrorCode = CustomerMembershipPaymentRefundFailedCode | CustomerMembershipPaymentRefundSkippedCode;
export type RefundCodeClassification = 'notFound' | 'invalid' | 'conflict' | 'failed';
export declare function isCustomerMembershipPaymentRefundFailedCode(code: string): code is CustomerMembershipPaymentRefundFailedCode;
export declare function classifyCustomerMembershipPaymentRefundCode(code: CustomerMembershipPaymentRefundErrorCode): RefundCodeClassification;
