UNPKG

@lynsoluciones/medusa-docs

Version:
46 lines (45 loc) 1.32 kB
/** * Checks the list of currencies and returns the divider/multiplier * that should be used to calculate the persited and display amount. * @param currency * @return {number} */ export declare function getDecimalDigits(currency: string): number; export declare function normalizeAmount(currency: string, amount: number): number; declare const useOrderTableColums: () => ({ Header: import("react/jsx-runtime").JSX.Element; accessor: string; Cell: ({ cell: { value } }: { cell: { value: any; }; }) => import("react/jsx-runtime").JSX.Element; id?: undefined; } | { Header: string; accessor: string; Cell: ({ cell: { value } }: { cell: { value: any; }; }) => import("react/jsx-runtime").JSX.Element; id?: undefined; } | { Header: () => import("react/jsx-runtime").JSX.Element; accessor: string; Cell: ({ row, cell: { value } }: { row: any; cell: { value: any; }; }) => import("react/jsx-runtime").JSX.Element; id?: undefined; } | { Header: () => import("react/jsx-runtime").JSX.Element; id: string; Cell: ({ row }: { row: any; }) => import("react/jsx-runtime").JSX.Element; accessor?: undefined; })[][]; export default useOrderTableColums;