UNPKG

autumn-js

Version:
19 lines (16 loc) 713 B
import { AutumnClientError, PricingTableProduct } from './types.js'; import './cusTypes-CvWNQ2-e.js'; import './prodTypes-G6W3NUPg.js'; import 'zod/v4'; 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 };