export interface RmPurchase {
    id: string;
    user_id: string;
    product_type: string;
    amount_cents: number;
    picks_granted: number;
    stripe_payment_intent_id: string | null;
    stripe_session_id: string | null;
    attribution: any;
    created_at: string;
}
export declare function createPurchase(data: {
    userId: string;
    productType: string;
    amountCents: number;
    picksGranted: number;
    stripePaymentIntentId?: string;
    stripeSessionId?: string;
    attribution?: any;
}): Promise<RmPurchase>;
export declare function getPurchasesByUser(userId: string, limit?: number): Promise<RmPurchase[]>;
export declare function getRecentPurchases(limit?: number): Promise<any[]>;
export declare function getPurchaseStats(period?: string): Promise<any>;
//# sourceMappingURL=purchase.d.ts.map