1 | /// <reference types="node"/>
|
2 |
|
3 | declare namespace Geld {
|
4 | interface Options {
|
5 | currency?: string;
|
6 | currencyPosition?: 'before' | 'after';
|
7 | decimals?: number;
|
8 | decimalSeparator?: string;
|
9 | orderSeparator?: string;
|
10 | zeroDecimals?: string;
|
11 | space?: string;
|
12 | }
|
13 | }
|
14 |
|
15 | declare function geld(
|
16 | value: number | string,
|
17 | options?: Geld.Options
|
18 | ): string;
|
19 |
|
20 | export = geld;
|