import type Stripe from 'stripe'; export declare const manageProduct: ProductManager; export declare const managePriceExtended: ExtendedPriceManager; export declare const manageCoupon: CouponManager; export declare interface ProductManager { create: (params: Stripe.ProductCreateParams) => Promise> retrieve: (productId: string) => Promise> update: (productId: string, params: Stripe.ProductUpdateParams) => Promise> list: (params?: Stripe.ProductListParams) => Promise>> archive: (productId: string) => Promise> createWithPrice: (product: Stripe.ProductCreateParams, price: Omit) => Promise<{ product: Stripe.Product, price: Stripe.Price }> search: (query: string, params?: Stripe.ProductSearchParams) => Promise>> } // ============================================================================= // Extended Price Management // ============================================================================= export declare interface ExtendedPriceManager { create: (params: Stripe.PriceCreateParams) => Promise> retrieve: (priceId: string) => Promise> update: (priceId: string, params: Stripe.PriceUpdateParams) => Promise> list: (params?: Stripe.PriceListParams) => Promise>> listByProduct: (productId: string, params?: Stripe.PriceListParams) => Promise>> search: (query: string, params?: Stripe.PriceSearchParams) => Promise>> archive: (priceId: string) => Promise> } // ============================================================================= // Coupon and Promotion Code Management // ============================================================================= export declare interface CouponManager { create: (params: Stripe.CouponCreateParams) => Promise> retrieve: (couponId: string) => Promise> update: (couponId: string, params: Stripe.CouponUpdateParams) => Promise> delete: (couponId: string) => Promise> list: (params?: Stripe.CouponListParams) => Promise>> createPromotionCode: (params: Stripe.PromotionCodeCreateParams) => Promise> retrievePromotionCode: (code: string) => Promise }