UNPKG

autumn-js

Version:

Autumn JS Library

18 lines (15 loc) 695 B
import { AutumnClientError, PricingTableProduct } from './types.js'; import './cusTypes-sh5_cN7N.js'; import './entTypes-BDqnMLZ4.js'; declare const toClientErrorResponse: (error: any) => { data: null; error: AutumnClientError; }; declare const toClientError: (error: any, log?: boolean) => AutumnClientError; declare const fetchPricingTableData: ({ setIsLoading, setError, setProducts, encryptedCustomerId, }: { setIsLoading?: (isLoading: boolean) => void; setError?: (error: any) => void; setProducts: (products: PricingTableProduct[]) => void; encryptedCustomerId?: string; }) => Promise<any>; export { fetchPricingTableData, toClientError, toClientErrorResponse };