import { InferType } from "yup"; //#region src/interface/crud/transactions.d.ts declare const transactionEntrySchema: import("yup").MixedSchema<{ charged_amount: { USD?: string | undefined; EUR?: string | undefined; GBP?: string | undefined; JPY?: string | undefined; INR?: string | undefined; AUD?: string | undefined; CAD?: string | undefined; }; net_amount: { USD: string; }; type: "money_transfer"; adjusted_transaction_id: string | null; adjusted_entry_index: number | null; customer_type: "user" | "team" | "custom"; customer_id: string; } | { type: "item_quantity_change"; adjusted_transaction_id: string | null; adjusted_entry_index: number | null; customer_type: "user" | "team" | "custom"; customer_id: string; item_id: string; quantity: number; } | { subscription_id?: string | undefined; one_time_purchase_id?: string | undefined; type: "product_grant"; adjusted_transaction_id: string | null; adjusted_entry_index: number | null; customer_type: "user" | "team" | "custom"; customer_id: string; quantity: number; product_id: string | null; product: { free_trial?: import("../../utils/dates").DayInterval | undefined; client_metadata?: {} | null | undefined; client_read_only_metadata?: {} | null | undefined; server_metadata?: {} | null | undefined; customer_type: "user" | "team" | "custom"; display_name: string; server_only: boolean; stackable: boolean; prices: Record; included_items: Record; }; price_id: string | null; } | { type: "product_revocation"; adjusted_transaction_id: string; adjusted_entry_index: number; quantity: number; } | { type: "product_revocation_reversal"; adjusted_transaction_id: string; adjusted_entry_index: number; quantity: number; }, import("yup").AnyObject, undefined, "">; type TransactionEntry = InferType; declare const TRANSACTION_TYPES: readonly ["purchase", "subscription-cancellation", "subscription-renewal", "manual-item-quantity-change", "refund", "chargeback", "product-change"]; type TransactionType = (typeof TRANSACTION_TYPES)[number]; declare const transactionSchema: import("yup").ObjectSchema<{ id: string; created_at_millis: number; effective_at_millis: number; type: "purchase" | "subscription-cancellation" | "subscription-renewal" | "manual-item-quantity-change" | "refund" | "chargeback" | "product-change" | null; customer_type: "user" | "team" | "custom"; customer_id: string; renewal_target_subscription_id: string | null | undefined; entries: ({ charged_amount: { USD?: string | undefined; EUR?: string | undefined; GBP?: string | undefined; JPY?: string | undefined; INR?: string | undefined; AUD?: string | undefined; CAD?: string | undefined; }; net_amount: { USD: string; }; type: "money_transfer"; adjusted_transaction_id: string | null; adjusted_entry_index: number | null; customer_type: "user" | "team" | "custom"; customer_id: string; } | { type: "item_quantity_change"; adjusted_transaction_id: string | null; adjusted_entry_index: number | null; customer_type: "user" | "team" | "custom"; customer_id: string; item_id: string; quantity: number; } | { subscription_id?: string | undefined; one_time_purchase_id?: string | undefined; type: "product_grant"; adjusted_transaction_id: string | null; adjusted_entry_index: number | null; customer_type: "user" | "team" | "custom"; customer_id: string; quantity: number; product_id: string | null; product: { free_trial?: import("../../utils/dates").DayInterval | undefined; client_metadata?: {} | null | undefined; client_read_only_metadata?: {} | null | undefined; server_metadata?: {} | null | undefined; customer_type: "user" | "team" | "custom"; display_name: string; server_only: boolean; stackable: boolean; prices: Record; included_items: Record; }; price_id: string | null; } | { type: "product_revocation"; adjusted_transaction_id: string; adjusted_entry_index: number; quantity: number; } | { type: "product_revocation_reversal"; adjusted_transaction_id: string; adjusted_entry_index: number; quantity: number; })[]; adjusted_by: { transaction_id: string; entry_index: number; }[]; test_mode: boolean; }, import("yup").AnyObject, { id: undefined; created_at_millis: undefined; effective_at_millis: undefined; type: undefined; customer_type: undefined; customer_id: undefined; renewal_target_subscription_id: undefined; entries: undefined; adjusted_by: undefined; test_mode: undefined; }, "">; type Transaction = InferType; //#endregion export { TRANSACTION_TYPES, Transaction, TransactionEntry, TransactionType, transactionEntrySchema, transactionSchema }; //# sourceMappingURL=transactions.d.ts.map