UNPKG

autumn-js

Version:

Autumn JS Library

19 lines (16 loc) 712 B
import { AutumnClientError, PricingTableProduct } from './types.mjs'; import './cusTypes-DT2ujoSl.mjs'; import 'zod'; import './entTypes-CXGgMuHO.mjs'; 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 };